Specifies the compile-time rounding mode of constant floating-point expressions.


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

where suboptions are:

n Round to the nearest representable number. This is the default.
m Round toward minus infinity.
p Round toward plus infinity.
z Round toward zero.


To compile myprogram.c so that constant floating-point expressions are rounded toward zero at compile time, enter:

xlc myprogram.c -yz

Related information