(j3.2006) (SC22WG5.6010) [ukfortran] IEEE_INT

N.M. Maclaren nmm1
Wed Dec 20 14:43:28 EST 2017


On Dec 20 2017, John Reid wrote:
>
>I suppose IEEE_UP and IEEE_DOWN give ConvertToIntegerTiesTowardPositive 
>and ConvertToIntegerTiesTowardNegative, that is, towards positive and 
>negative infinity, respectively. I think this needs to be said.

It would do no harm, and would help people who are not familiar with the
minutiae of IEEE 754.

>Does IEEE_OTHER give ConvertToIntegerTiesToEven?

Er, why?  That doesn't make sense.  The meaning of IEEE_OTHER is that
something other than the defined directions is in effect, so it should
be processor dependent.

>What about IEEE_NEAREST?

Now, THAT should be ConvertToIntegerTiesToEven.


Regards,
Nick.




More information about the J3 mailing list