/[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 2554 by gross, Fri Jul 24 05:38:54 2009 UTC revision 2748 by gross, Tue Nov 17 07:32:59 2009 UTC
# Line 64  typedef int err_t; Line 64  typedef int err_t;
64  #define EPSILON DBL_EPSILON  #define EPSILON DBL_EPSILON
65  #define LARGE_POSITIVE_FLOAT DBL_MAX  #define LARGE_POSITIVE_FLOAT DBL_MAX
66  #define SMALL_NEGATIVE_FLOAT -DBL_MAX  #define SMALL_NEGATIVE_FLOAT -DBL_MAX
67    #ifndef NAN
68       #define NAN (0.0/0.0)
69    #endif
70    #define IS_NAN(__VAL__)  ( (__VAL__) == NAN )  /* this does not work */
71    /* #define IS_NAN(__VAL__)  ( ! ( ( (__VAL__) >= 0. ) ||  ( (__VAL__) <= 0. ) ) )  this does not work */
72    
73  /**************************************************************/  /**************************************************************/
74    

Legend:
Removed from v.2554  
changed lines
  Added in v.2748

  ViewVC Help
Powered by ViewVC 1.1.26