Index

Package: Fixed_Point_Math

Description

package Allegro.Fixed_Point_Math is

Types

Fixed

type Fixed is new Integer;

Subprograms & Entries

itofix

function itofix
( x: Integer ) return Fixed;

ftofix

function ftofix
( x: Long_Float ) return Fixed;

fixtoi

function fixtoi
( x: Fixed ) return Integer;

fixtof

function fixtof
( x: Fixed ) return Long_Float;

fixceil

function fixceil
( x: Fixed ) return Integer;

fixfloor

function fixfloor
( x: Fixed ) return Integer;

fixmul

function fixmul
( x, y: Fixed ) return Fixed;

fixdiv

function fixdiv
( x, y: Fixed ) return Fixed;

fixadd

function fixadd
( x, y: Fixed ) return Fixed;

fixsub

function fixsub
( x, y: Fixed ) return Fixed;

fixsin

function fixsin
( x: Fixed ) return Fixed;

fixcos

function fixcos
( x: Fixed ) return Fixed;

fixtan

function fixtan
( x: Fixed ) return Fixed;

fixasin

function fixasin
( x: Fixed ) return Fixed;

fixacos

function fixacos
( x: Fixed ) return Fixed;

fixatan

function fixatan
( x: Fixed ) return Fixed;

fixatan2

function fixatan2
( y, x: Fixed ) return Fixed;

fixsqrt

function fixsqrt
( x: Fixed ) return Fixed;

fixhypot

function fixhypot
( x, y: Fixed ) return Fixed;

fixtorad_r

function fixtorad_r return Fixed;

radtofix_r

function radtofix_r return Fixed;

To_Fixed

function To_Fixed
( x: Integer ) return Fixed renames itofix;

To_Fixed

function To_Fixed
( x: Long_Float ) return Fixed renames ftofix;

To_Integer

function To_Integer
( x: Fixed ) return Integer renames fixtoi;

To_Long_Float

function To_Long_Float
( x: Fixed ) return Long_Float renames fixtof;

Ceil

function Ceil
( x: Fixed ) return Integer renames fixceil;

Floor

function Floor
( x: Fixed ) return Integer renames fixfloor;

*

function "*"
( x, y: Fixed ) return Fixed renames fixmul;

/

function "/"
( x, y: Fixed ) return Fixed renames fixdiv;

+

function "+"
( x, y: Fixed ) return Fixed renames fixadd;

-

function "-"
( x, y: Fixed ) return Fixed renames fixsub;

Sin

function Sin
( x: Fixed ) return Fixed renames fixsin;

Cos

function Cos
( x: Fixed ) return Fixed renames fixcos;

Tan

function Tan
( x: Fixed ) return Fixed renames fixtan;

Asin

function Asin
( x: Fixed ) return Fixed renames fixasin;

Acos

function Acos
( x: Fixed ) return Fixed renames fixacos;

Atan

function Atan
( x: Fixed ) return Fixed renames fixatan;

Atan2

function Atan2
( y, x: Fixed ) return Fixed renames fixatan2;

Sqrt

function Sqrt
( x: Fixed ) return Fixed renames fixsqrt;

Hypot

function Hypot
( x, y: Fixed ) return Fixed renames fixhypot;