SquareSF16

Squares a signed 16.16 fraction.

Synopsis

ufrac16 SquareSF16( frac16 m )

Description

This function computes the square of a 16.16 number. The lower bits of the result are truncated.

Arguments

m
The number to be squared.

Return Value

The function returns the square of m.

Implementation

Folio call implemented in operamath V20.

Associated Files

operamath.h, operamath.lib

Caveats

The function does not detect overflows.

See Also

SquareUF16(), Square64()