AddF14

Adds two 2.14-format fixed-point fractions together.

Synopsis

frac14 AddF14( frac14 x, frac14 y )

Description

This macro adds two 2.14-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 2.14-format fixed-point fractions.

Return Value

The macro returns the sum of the arguments.

Implementation

Macro implemented in operamath.h V20.

Associated Files

operamath.h

See Also

Add32(), AddF16(), AddF30()