Site Tools


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

Convert32_F16

Converts a 32-bit integer to a 16.16 fraction.

Synopsis

frac16 Convert32_F16( int32 x )

Description

This macro converts a 32-bit integer into a 16.16 fraction.

Arguments

  • x The 32-bit integer to be converted.

Return Value

The function returns the 16.16 result of the conversion. The fractional 1- bits of the result are zero, and the upper 16-bits of the argument are lost.

Implementation

Macro implemented in operamath.h V20.

Associated Files

operamath.h

See Also

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