Site Tools


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

ConvertF30_F16

Converts a 2.30 fraction to a 16.16 fraction.

Synopsis

frac16 ConvertF30_F16( frac30 x )

Description

This macro converts a 2.30 fraction to a 16.16 fraction. The upper 14-bits will be filled with the sign bit of the argument.

Arguments

  • x A 2.30 fraction to be converted.

Return Value

The function returns the 16.16 fraction result of the conversion.

Implementation

Macro implemented in operamath.h V20.

Associated Files

operamath.h

See Also

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