/[escript]/trunk/esysUtils/src/maths.h
ViewVC logotype

Diff of /trunk/esysUtils/src/maths.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2881 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 2884 by jfenwick, Thu Jan 28 05:00:59 2010 UTC
# Line 73  typedef int err_t; Line 73  typedef int err_t;
73    
74  #ifdef isnan  #ifdef isnan
75    #define IS_NAN(__VAL__) (isnan(__VAL__))    #define IS_NAN(__VAL__) (isnan(__VAL__))
76    #elif defined _isnan
77      #define IS_NAN(__VAL__) (_isnan(__VAL__))
78  #else  #else
79  /* If we do not have isnan then we can't reliably check for NaN - return false */  /* If we do not have isnan then we can't reliably check for NaN - return false */
80    #define IS_NAN(__VAL__) (0)    #define IS_NAN(__VAL__) (0)

Legend:
Removed from v.2881  
changed lines
  Added in v.2884

  ViewVC Help
Powered by ViewVC 1.1.26