FSEL(X,Y,Z)

Purpose

Floating-point Selection

Returns the result of a floating-point selection operation. This result is determined by comparing the value of X with zero.

Valid on any PowerPC with extended graphics opcodes.

Class

Function

Argument type and attributes

X
must be of type REAL(4) or REAL(8).

Result type and attributes

Same as X, Y and Z.

Result value

A zero value is considered unsigned. That is, both +0 and -0 are equal to zero.