disnan.c 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* disnan.f -- translated by f2c (version 20061008).
  2. You must link the resulting object file with libf2c:
  3. on Microsoft Windows system, link with libf2c.lib;
  4. on Linux or Unix systems, link with .../path/to/libf2c.a -lm
  5. or, if you install libf2c.a in a standard place, with -lf2c -lm
  6. -- in that order, at the end of the command line, as in
  7. cc *.o -lf2c -lm
  8. Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
  9. http://www.netlib.org/f2c/libf2c.zip
  10. */
  11. #include "f2c.h"
  12. #include "blaswrap.h"
  13. logical _starpu_disnan_(doublereal *din)
  14. {
  15. /* System generated locals */
  16. logical ret_val;
  17. /* Local variables */
  18. extern logical _starpu_dlaisnan_(doublereal *, doublereal *);
  19. /* -- LAPACK auxiliary routine (version 3.2) -- */
  20. /* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. */
  21. /* November 2006 */
  22. /* .. Scalar Arguments .. */
  23. /* .. */
  24. /* Purpose */
  25. /* ======= */
  26. /* DISNAN returns .TRUE. if its argument is NaN, and .FALSE. */
  27. /* otherwise. To be replaced by the Fortran 2003 intrinsic in the */
  28. /* future. */
  29. /* Arguments */
  30. /* ========= */
  31. /* DIN (input) DOUBLE PRECISION */
  32. /* Input to test for NaN. */
  33. /* ===================================================================== */
  34. /* .. External Functions .. */
  35. /* .. */
  36. /* .. Executable Statements .. */
  37. ret_val = _starpu_dlaisnan_(din, din);
  38. return ret_val;
  39. } /* _starpu_disnan_ */