ConvertSF16_F32
Converts a 16.16 fraction to a 32.32 fraction.
Synopsis
void ConvertSF16_F32( frac32 *d, frac16 x )
Description
This macro converts a 16.16 fraction to a 32.32 fraction. The upper 16-bits of the result are the sign bit of the argument, the least 16-bits of the result are zero. The 32.32 fraction result is deposited in the location pointed to by the d argument.
Arguments
- d
- A pointer to a 32.32 fraction structure to store the result.
- x
- A 16.16 fraction to be converted.
Implementation
Macro implemented in operamath.h V20.
Associated Files
operamath.h
See Also
ConvertF14_F16
(), ConvertF16_F14(), ConvertF16_F30(), ConvertF30_F16(), ConvertF16_32(), Convert32_F32(), ConvertF32_F16(), ConvertS32_64(), Convert32_F16(), ConvertU32_64(), ConvertUF16_F32()