Sun Studio 12: Fortran Library Reference

2.1.12 Floating-Point Manipulation Functions

Generic Intrinsic Name  

Description  

EXPONENT (X)

Exponent part of a model number 

FRACTION (X)

Fractional part of a number 

NEAREST (X, S)

Nearest different processor number in given direction 

RRSPACING (X)

Reciprocal of the relative spacing of model numbers near given number 

SCALE (X, I)

Multiply a real by its base to an integer power 

SET_EXPONENT (X, I)

Set exponent part of a number 

SPACING (X)

Absolute spacing of model numbers near given number