ConvertUF16_F32

Converts an unsigned 16.16 fraction to an unsigned 32.32fraction.

Synopsis

void ConvertUF16_F32( frac32 *d, ufrac16 x )

Description

This macro converts an unsigned 16.16 fraction to a 32.32 fraction. The upper 16-bits of the result and 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 to store the result.
x
An unsigned 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()