Site Tools


documentation:development:opera:pf25:ppgfldr:pgsfldr:spr:03spr029

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

documentation/development/opera/pf25/ppgfldr/pgsfldr/spr/03spr029.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1