Math Folio Calls
This chapter lists the math folio procedure calls in alphabetical order. The list below is a quick summary of each, followed by the page number where you'll find the procedure described.
AbsVec3_F16 Computes the absolute value of a vector of 16.16 values.
AbsVec4_F16 Computes the absolute value of a vector of 16.16 values.
Add32 Adds two 32-bit integer quantities together.
Add64 Adds two 64-bit integers together.
AddF14 Adds two 2.14-format fixed-point fractions together.
AddF16 Adds two 16.16-format fixed-point fractions together.
AddF30 Adds two 2.30-format fixed-point fractions together.
AddF32 Adds two 32.32-format fixed-point fractions together.
AddF60 Adds two 32.32-format fixed-point fractions together.
Atan2F16 Adds two 4.60-format fixed-point fractions together.
CloseMathFolio Closes the math folio and resets the mathbase global variable to zero.
CompareS64 Compares two signed 64-bit integer quantities.
CompareSF32 Compares two signed 32.32-format fractions.
CompareSF60 Compares two signed 4.60-format fractions.
CompareU64 Compares two unsigned 64-bit integer quantities.
CompareUF32 Compares two unsigned 32.32-format fractions.
CompareUF60 Compares two unsigned 4.60-format fractions.
Convert32_F16 Converts a 32-bit integer to a 16.16 fraction.
Convert32_F32 Converts a 32-bit integer to a 32.32 fraction.
ConvertF14_F16 Converts a 2.14 fraction to a 16.16 fraction.
ConvertF16_32 Converts a 16.16 fraction to a 32-bit integer.
ConvertF16_F14 Converts a 16.16 fraction to a 2.14 fraction.
ConvertF16_F30 Converts a 16.16 fraction to a 2.30 fraction.
ConvertF30_F16 Converts a 2.30 fraction to a 16.16 fraction.
ConvertF32_F16 Converts a 32.32 fraction to a 16.16 fraction.
ConvertS32_64 Converts a 32-bit integer to a 64-bit integer.
ConvertSF16_F32 Converts a 16.16 fraction to a 32.32 fraction.
ConvertU32_64 Converts an unsigned 32-bit integer to an unsigned 64-bit integer.
ConvertUF16_F32 Converts an unsigned 16.16 fraction to an unsigned 32.32fraction.
CosF16 Computes the 16.16 operamath cosine of a 16.16 fraction angle.
CosF30 Computes the operamath 2.30 cosine of a 16.16 fraction.
CosF32 Computes the operamath 32.32 cosine of a 16.16 fraction.
Cross3_F16 Computes the cross-product of two vectors of 16.16 values.
DivRemS32 Computes the quotient and remainder of a 32-bit division.
DivRemSF16 Computes the quotient and remainder of a 16.16 division.
DivRemU32 Computes the quotient and remainder of a 32-bit division.
DivRemUF16 Computes the quotient and remainder of a 16.16 division.
DivS64 Computes the quotient and remainder of a 64-bit division.
DivSF16 Computes the quotient of a 16.16 division.
DivU64 Computes the quotient and remainder of a 64-bit division.
DivUF16 Computes the quotient of a 16.16 division.
Dot3_F16 Multiplies two vectors of 16.16 values.
Dot4_F16 Multiplies two vectors of 16.16 values.
Mul32 Multiplies two 32-bit integers.
Mul64 Multiplies two 64-bit integers.
MulF14 Multiplies two 2.14 fractions.
MulManyF16 Multiplies an array of 16.16 values by another array of 16.16 values.
MulManyVec3Mat33_F16 Multiplies one or more vectors by a 3x3 matrix of 16.16 values.
MulManyVec3Mat33DivZ_F16 Multiplies a 3x3 matrix of 16.16 values by 1 or more 3-coordinate vectors of 16.16 values, then multiplies x and y elements of the result vector by ratio of n/z.
MulManyVec4Mat44_F16 Multiplies one or more vectors by a 4x4 matrix of 16.16 values.
MulMat33Mat33_F16 Computes the product of two 3x3 matrices of 16.16values.
MulMat44Mat44_F16 Computes the product of two 4x4 matrices of 16.16 values.
MulObjectMat33_F16 Multiplies a matrix within an object structure by an external 3x3 matrix of 16.16 values.
MulObjectMat44_F16 Multiplies a matrix within an object structure by an external 4x4 matrix of 16.16 values.
MulObjectVec3Mat33_F16 Multiplies many vectors within an object structure by a 3x3 matrix of 16.16 values.
MulObjectVec4Mat44_F16 Multiplies many vectors within an object structure by a 4x4 matrix of 16.16 values.
MulS32_64 Multiplies two 32-bit integers and returns a 64-bit result.
MulScalarF16 Multiplies a 16.16 scalar by an array of 16.16 values.
MulSF16 Multiplies two signed 16.16 fractions.
MulSF16_F32 Multiplies two signed 16.16 numbers and returns a 32.32 result.
MulSF30 Multiplies two 2.30 fractions.
MulSF30_F60 Multiplies two signed 2.30 numbers and returns a 4.60 result.
MulU32_64 Multiplies two unsigned 32-bit integers and returns a 64-bit result.
MulUF16 Multiplies two unsigned 16.16 fractions.
MulUF16_F32 Multiplies two unsigned 16.16 numbers and returns a 32.32 result.
MulUF30_F60 Multiplies two unsigned 2.30 numbers and returns a 4.60 result.
MulVec3Mat33_F16 Computes the product of a 3x3 matrix and a vector.
MulVec3Mat33DivZ_F16 Computes the product of a 3x3 matrix and a vector, then multiplies the x, y elements of the result by the ratio n/z.
MulVec4Mat44_F16 Computes the product of a 4x4 matrix and a vector.
Neg32 Computes the two's complement of a 32-bit integer.
Neg64 Computes the two's complement of a 64-bit integer.
NegF14 Computes the two's complement of a 2.14 fraction.
NegF16 Computes the two's complement of a 16.16 fraction.
NegF30 Computes the two's complement of a 2.30 fraction.
NegF32 Computes the two's complement of a 32.32 fraction.
NegF60 Computes the two's complement of a 4.60 fraction.
Not32 Computes one's complement of a 32-bit integer.
Not64 Computes one's complement of a 64-bit integer.
NotF14 Computes one's complement of a 2.14 fraction.
NotF16 Computes one's complement of a 16.16 fraction.
NotF30 Computes one's complement of a 2.30 fraction.
NotF32 Computes one's complement of a 32.32 number.
NotF60 Computes one's complement of a 4.60 number.
OpenMathFolio Opens the math folio and sets _MathBase global variable.
RecipSF16 Computes the reciprocal of a signed 16.16 number.
RecipUF16 Computes the reciprocal of an unsigned 16.16 number.
SinF16 Computes the 16.16 sine of a 16.16 fraction angle.
SinF30 Computes the operamath 2.30 sine of a 16.16 fraction.
SinF32 Computes the operamath 32.32 sine of a 16.16 fraction.
Sqrt32 Computes square root of an unsigned 32-bit number.
Sqrt64_32 Computes the 32-bit square root of an unsigned 64-bit integer.
SqrtF16 Computes the square root of an unsigned 16.16 number.
SqrtF32_F16 Computes the square root of a 32.32 fraction.
SqrtF60_F30 Computes the square root of a 4.60 fraction as a 2.30 fraction.
Square64 Squares a 64-bit integer.
SquareSF16 Squares a signed 16.16 fraction.
SquareUF16 Squares an unsigned 16.16 fraction.
Sub32 Subtracts a 32-bit integer from another.
Sub64 Subtracts a 64-bit integer from another.
SubF14 Subtracts a 2.14 fraction from another.
SubF16 Subtracts a 16.16 fraction from another.
SubF30 Subtracts a 2.30 fraction from another.
SubF32 Subtracts a 32.32 fraction from another.
SubF60 Subtracts a 4.60 fraction from another.
Transpose33_F16 Transposes a 3x3 matrix of 16.16 values.
Transpose44_F16 Transposes a 4x4 matrix of 16.16 values.