Télécharger dlaisn.eso

Retour à la liste

Numérotation des lignes :

dlaisn
  1. C DLAISN SOURCE BP208322 18/07/10 21:15:09 9872
  2. *> \brief \b DLAISNAN tests input for NaN by comparing two arguments for inequality.
  3. *
  4. * =========== DOCUMENTATION ===========
  5. *
  6. * Online html documentation available at
  7. * http://www.netlib.org/lapack/explore-html/
  8. *
  9. *> \htmlonly
  10. *> Download DLAISNAN + dependencies
  11. *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaisnan.f">
  12. *> [TGZ]</a>
  13. *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaisnan.f">
  14. *> [ZIP]</a>
  15. *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaisnan.f">
  16. *> [TXT]</a>
  17. *> \endhtmlonly
  18. *
  19. * Definition:
  20. * ===========
  21. *
  22. * LOGICAL FUNCTION DLAISNAN( DIN1, DIN2 )
  23. *
  24. * .. Scalar Arguments ..
  25. * REAL*8 DIN1, DIN2
  26. * ..
  27. *
  28. *
  29. *> \par Purpose:
  30. * =============
  31. *>
  32. *> \verbatim
  33. *>
  34. *> This routine is not for general use. It exists solely to avoid
  35. *> over-optimization in DISNAN.
  36. *>
  37. *> DLAISNAN checks for NaNs by comparing its two arguments for
  38. *> inequality. NaN is the only floating-point value where NaN != NaN
  39. *> returns .TRUE. To check for NaNs, pass the same variable as both
  40. *> arguments.
  41. *>
  42. *> A compiler must assume that the two arguments are
  43. *> not the same variable, and the test will not be optimized away.
  44. *> Interprocedural or whole-program optimization may delete this
  45. *> test. The ISNAN functions will be replaced by the correct
  46. *> Fortran 03 intrinsic once the intrinsic is widely available.
  47. *> \endverbatim
  48. *
  49. * Arguments:
  50. * ==========
  51. *
  52. *> \param[in] DIN1
  53. *> \verbatim
  54. *> DIN1 is DOUBLE PRECISION
  55. *> \endverbatim
  56. *>
  57. *> \param[in] DIN2
  58. *> \verbatim
  59. *> DIN2 is DOUBLE PRECISION
  60. *> Two numbers to compare for inequality.
  61. *> \endverbatim
  62. *
  63. * Authors:
  64. * ========
  65. *
  66. *> \author Univ. of Tennessee
  67. *> \author Univ. of California Berkeley
  68. *> \author Univ. of Colorado Denver
  69. *> \author NAG Ltd.
  70. *
  71. *> \date June 2017
  72. *
  73. *> \ingroup OTHERauxiliary
  74. *
  75. * =====================================================================
  76. LOGICAL FUNCTION DLAISN( DIN1, DIN2 )
  77. *
  78. * -- LAPACK auxiliary routine (version 3.7.1) --
  79. * -- LAPACK is a software package provided by Univ. of Tennessee, --
  80. * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
  81. * June 2017
  82. *
  83. * .. Scalar Arguments ..
  84. REAL*8 DIN1, DIN2
  85. * ..
  86. *
  87. * =====================================================================
  88. *
  89. * .. Executable Statements ..
  90. DLAISN = (DIN1.NE.DIN2)
  91. RETURN
  92. END
  93.  
  94.  
  95.  

© Cast3M 2003 - Tous droits réservés.
Mentions légales