[J3] Problem with IEEE_ARITHMETIC examples
Steidel, Jon L
jon.l.steidel at intel.com
Fri Jan 18 13:16:37 EST 2019
The examples in 17.11 for IEEE_MAX_NUM, IEEE_MIN_NUM, IEEE_QUIET_EQ, IEEE_QUIET_GE, IEEE_QUIET_GT, IEEE_QUIET_LE, IEEE_QUIET_LT, IEEE_QUIET_NE, IEEE_SIGNALING_EQ, IEEE_SIGNALING_GE, IEEE_SIGNALING_GT, IEEE_SIGNALING_LE, IEEE_SIGNALING_LT, and IEEE_SIGNALING_NE are all flawed. The examples all contain a call to IEEE_VALUE (IEEE_INVALID). The definition of IEEE_VALUE has two arguments, IEEE_VALUE (X, CLASS); X is not OPTIONAL. The simple fix would be to change IEEE_VALUE (IEEE_INVALID) to IEEE_VALUE (0.0, IEEE_INVALID) in all 14 places.
There is also a problem in the Introduction, page xiii, p2 halfway thru the bullet "Data usage and computation". "The standard intrinsic operations . . .; the = and /= operations ..." should be "The standard intrinsic operations . . .; the == and /= operations . . ."
I am not sure if these can be editorial changes, or if they require an interpretation. I can prepare a paper for the next meeting either way. Please advise as to the proper way proceed.
-jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20190118/2d4990dc/attachment.html>
More information about the J3
mailing list