SquareUF16

Squares an unsigned 16.16 fraction.

Synopsis

ufrac16 SquareUF16( ufrac16 m )

Description

This function computes the square of an unsigned 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

SquareSF16(), Square64()