Oracle® Solaris Studio 12.4:Fortran 用户指南

退出打印视图

更新时间: 2014 年 12 月
 
 

3.4.47 –iorounding[={compatible|processor-defined}]

为格式化输入/输出设置浮点舍入模式。

以全局方式为所有的格式化输入/输出运算设置 ROUND= 说明符。

如果使用 -iorounding=compatible,数据转换后的值是与两个最接近表示更接近的值,如果值正好在两者中间,则是离 0 远的值。

如果使用 -iorounding=processor-defined,则舍入模式是处理器的缺省模式。在未指定 -iorounding 时,这是缺省值。