Functions


Converting Among 32-Bit Numeric Types

Fix2Frac Converts a Fixed number to a Fract number.
Fix2Long Converts a Fixed number to a LongInt number.
Frac2Fix Converts a Fract number to a Fixed number.
Long2Fix Converts a LongInt number to a Fixed number.

Converting Between Fixed-Point and Floating-Point Values

Fix2X Converts a Fixed number to an Extended number.
Frac2X Converts a Fract number to an Extended number.
X2Fix Converts an Extended number to a Fixed number.
X2Frac Converts an Extended number to a Fract number.

Converting Between Fixed-Point and Integral Values

FixRatio Obtains the Fixed equivalent of a fraction.
FixRound Rounds a fixed-point number to the nearest integer.

Getting and Setting Memory Values

HiWord Obtains the high-order word of a long word.
LoWord Obtains the low-order word of a long word.

Multiplying 32-bit values

LongMul Multiplies two 32-bit quantities to obtain a 64-bit quantity.

Multiplying and Dividing Fixed-Point Numbers

FixDiv Divides two variables of the same type (Fixed, Fract, or LongInt) or to divide a LongInt or Fract number by a Fixed number.
FixMul Multiplies a variable of type Fixed with another variable of type Fixed or with a variable of type Fract or LongInt.
FracDiv Divides two variables of the same type (Fract, Fixed, or LongInt) or to divide a LongInt or Fixed number by a Fract number.
FracMul Multiplies a variable of type Fract with another variable of type Fract or with a variable of type Fixed or LongInt.

Performing Calculations on Fixed-Point Numbers

FixATan2 Obtains a fast approximation of the arctangent of a fraction.
FracCos Obtains a fast approximation of the cosine of a Fixed number.
FracSin Obtains a fast approximation of the sine of a Fixed number.
FracSqrt Obtains the square root of a Fract number.

Performing Logical Operations

BitAnd Performs the AND logical operation on two long words.
BitNot Performs the NOT logical operation on a long word.
BitOr Performs the OR logical operation on two long words.
BitShift Shifts bits in a long word.
BitXor Performs the XOR logical operation on two long words.

Testing and Setting Bits

BitClr Clears a particular bit (to a value of 0).
BitSet Sets a particular bit (to a value of 1).
BitTst Determines whether a given bit is set.

Miscellaneous

LongDoubleToSInt64
LongDoubleToUInt64
S32Set
S64Absolute
S64Add
S64And
S64BitwiseAnd
S64BitwiseEor
S64BitwiseNot
S64BitwiseOr
S64Compare
S64Divide
S64Eor
S64Max
S64Min
S64Mod
S64Multiply
S64Negate
S64Not
S64Or
S64Set
S64SetU
S64ShiftLeft
S64ShiftRight
S64Subtract
SInt64ToLongDouble
SInt64ToUInt64
U32SetU
U64Add
U64And
U64BitwiseAnd
U64BitwiseEor
U64BitwiseNot
U64BitwiseOr
U64Compare
U64Divide
U64Eor
U64Max
U64Mod
U64Multiply
U64Not
U64Or
U64Set
U64SetU
U64ShiftLeft
U64ShiftRight
U64Subtract
UInt64ToLongDouble
UInt64ToSInt64
WideBitShift
WideCompare
WideNegate
WideSquareRoot
_DBL_EPSILON
_DBL_MAX
_DBL_MIN
_FE_DFL_ENV
_FLT_EPSILON
_FLT_MAX
_FLT_MIN
_LDBL_EPSILON
_LDBL_MAX
_LDBL_MIN
__fpclassify
__fpclassifyd
__fpclassifyf
__inf
__isfinite
__isfinited
__isfinitef
__isnan
__isnand
__isnanf
__isnormal
__isnormald
__isnormalf
__signbit
__signbitd
__signbitf
acos
acosh
acoshl
acosl
annuity
asin
asinh
asinhl
asinl
atan
atan2
atan2l
atanh
atanhl
atanl
ceil
ceill
compound
copysign
copysignl
cos
cosh
coshl
cosl
dec2d
dec2f
dec2l
dec2num
dec2numl
dec2s
dec2str
dtox80
ecvt
erf
erfc
erfcl
erfl
exp
exp2
exp2l
expl
expm1
expm1l
fabs
fabsl
fcvt
fdim
fdiml
feclearexcept
fegetenv
fegetexcept
fegetprec
fegetround
feholdexcept
feraiseexcept
fesetenv
fesetexcept
fesetprec
fesetround
fetestexcept
feupdateenv
floor
floorl
fmax
fmaxl
fmin
fminl
fmod
frexp
frexpl
gamma
gammal
hypot
hypotl
ldexp
ldexpl
ldtox80
lgamma
lgammal
log
log10
log10l
log1p
log1pl
log2
log2l
logb
logbl
logl
modf
modff
modfl
nan
nanf
nanl
nearbyint
nearbyintl
nextafterd
nextafterf
nextafterl
num2dec
num2decl
pi
pow
powl
randomx
relation
relationl
remainder
remainderl
remquo
remquol
rint
rintl
rinttol
rinttoll
round
roundl
roundtol
roundtoll
scalb
scalbl
sin
sinh
sinhl
sinl
sqrt
sqrtl
str2dec
tan
tanh
tanhl
tanl
trunc
truncl
x80tod
x80told
x80tox96
x96tox80

© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)