Convert32_F32

Converts a 32-bit integer to a 32.32 fraction.

Synopsis

void Convert32_F32( frac32 *d, int32 x )

Description

This macro converts a 32-bit integer to a 32.32 fraction. The fractional portion of the result is zero. The 32.32 result of the conversion is deposited in the location pointed to by the dest argument.

Arguments

d
A pointer to a 32.32 structure to store the result.
x
A 32-bit integer to be converted.

Implementation

Macro implemented in operamath.h V20.

Associated Files

operamath.h

See Also

ConvertF14_F16(), ConvertF16_F14(), ConvertF16_F30(), ConvertF30_F16(), ConvertF32_F16(), ConvertF16_32(), ConvertF32_F16(), ConvertS32_64(), ConvertSF16_F32(), ConvertU32_64(), ConvertUF16_F32()