Closed tkoenig1 closed 1 year ago
It is a bit strange that, since F 2003, NINT and ANINT are defined to round away from zero. That is a bit strange, but nobody will change that.
NINT
ANINT
I would propose to add two functions provisionally called IEEE_NINTand IEEE_ANINT which obey the current rounding mode.
IEEE_NINT
IEEE_ANINT
Hm, looking at IEEE_INT, this is actually not needed.
It is a bit strange that, since F 2003,
NINT
andANINT
are defined to round away from zero. That is a bit strange, but nobody will change that.I would propose to add two functions provisionally called
IEEE_NINT
andIEEE_ANINT
which obey the current rounding mode.