B.7. ラウンド・端数処理モード

Table B.8. 表:ラウンド・端数処理モード

修飾子丸めモード
_rte
最近接偶数への丸め
(round to the nearest even)
_rtz
0への丸め
(rounding toward zero)
_rtp
正の無限大への丸め
(rounding toward positive
/plus infinity)
_rtn

負の無限大への丸め
(rounding toward negative
/minus infinity)

修飾子を指定しない
既定の丸めモード、整数型は_rtz。

Copyright 2018-2019, by Masaki Komatsu