103. IEEE_ARITHMETIC module has functions to test numerical conditions.#
topic: Floating point arithmetic
Note
This tip is a draft1.
Fortran 2003 introduced an ieee_arithmetic module with elemental functions ieee_is_nan, ieee_is_finite, ieee_is_negative, and ieee_is_normal, which test for those conditions. They have a real argument and logical RESULT.
Fortran 2003 introduced an ieee_arithmetic module with elemental functions ieee_is_nan, ieee_is_finite,
— FortranTip (@fortrantip) January 27, 2022
ieee_is_negative, and ieee_is_normal, which test for those conditions. They have a real argument and logical RESULT.pic.twitter.com/82On9iDxXQ
- 1
From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.