Site Tools


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

ConvertF16_F14

Converts a 16.16 fraction to a 2.14 fraction.

Synopsis

frac14 ConvertF16_F14( frac16 x )

Description

This macro converts a 16.16 fraction to a 2.14 fraction, using the upper 16-bits of a 32-bit quantity.

Arguments

  • x The 16.16 fraction to be converted.

Return Value

The function returns the 2.14 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/03spr022.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1