FRIN(A)

Purpose

Floating-point Round to Integer Nearest

Valid on a POWER5+ architecture.

Class

Function

Argument type and attributes

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

Result type and attributes

Same as A.

Result value

If A > 0, FRIN(A) has the value FRIM(A + 0.5).

If A <= 0, FRIN(A) has the value FRIM(A - 0.5).