Documentation  |   Table of Contents   |  < Previous   |  Next >  

45    FixedMath.h

Porting Applications to Palm OS® Cobalt

Exploring Palm OS®

The error-correcting versions of FixedDiv() and FixedMul() are no longer supported.

Deleted APIs ^TOP^

Table 45.1  Deleted functions

Deleted API

Use instead

ECFixedDiv()

FixedDiv()

ECFixedMul()

FixedMul()

Table 45.2  Deleted types

Deleted API

Use instead

FixedType

Fixed

Table 45.3  Deleted #defines

Deleted API

Use instead

FIXED_POINT_32_BIT

This was previously used to conditionally enable 1.5x scaling support. 1.5x scaling is always supported in Palm OS Cobalt.

Unchanged APIs ^TOP^

Table 45.4  Unchanged macros

FixedAdd()

FixedDiv()

FixedFraction()

FixedFromInteger()

FixedMul()

FixedPower2Div()

FixedPower2Mul()

FixedSub()

FixedToInteger()

Table 45.5  Unchanged #defines

Modified API

Description of change

kFixedBias

kFixedFractionMask

kFixedOneAndOneHalf

kFixedOneHalf

kFixedTwo

kFixedTwoThirds