Site Tools


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

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

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