Is there a standard way to check for Infinite and NaN in Fortran 90/95?

前端 未结 8 1201
小鲜肉
小鲜肉 2020-12-06 15:59

I\'ve been trying to find a standards-compliant way to check for Infinite and NaN values in Fortran 90/95 but it proved harder than I thought.

  • I tried to manua
8条回答
  •  悲&欢浪女
    2020-12-06 16:33

    No.

    The salient parts of IEEE_ARITHMETIC for generating/checking for NaN's are easy enough to write for gfortran for a particular architecture.

提交回复
热议问题