-y

Category

Floating-point and integer control

Purpose

Specifies the rounding mode for the compiler to use when evaluating constant floating-point expressions at compile time.

It is equivalent to the -qieee option.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-n-.   
>>- -y--+-m-+--------------------------------------------------><
        +-p-+   
        '-z-'   

@PROCESS:

@PROCESS IEEE(Near | Minus | Plus | Zero)

Defaults

-yn

Parameters

n
Round to nearest.
m
Round toward minus infinity.
p
Round toward plus infinity.
z
Round toward zero.

Usage

If your program contains operations involving real(16) values, the rounding mode must be set to -yn, round-to-nearest.

Related information