AddF16

Adds two 16.16-format fixed-point fractions together.

Synopsis

frac16 AddF16( frac16 x, frac16 y )

Description

This macro adds two 16.16-format fixed-point fractions together and returns the result. The macro is included for completeness.

The macro is actually defined as simple addition of its arguments, and does not check for or enforce any typecast requirements.

Arguments

x, y 16.16-format fixed-point fractions.

Return Value

The function returns the sum of the arguments.

Implementation

Macro implemented in operamath.h V20.

Associated Files

operamath.h

See Also

Add32(), AddF14(), AddF30()