AddF30

Adds two 2.30-format fixed-point fractions together.

Synopsis

frac30 AddF30( frac30 x, frac30 y )

Description

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

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

Arguments

x, y 2.30-format fixed-point fractions.

Return Value

The macro returns the sum of its arguments.

Implementation

Macro implemented in operamath.h V20.

Associated Files

operamath.h

See Also

Add32(), AddF16(), AddF14()