Subversion Repositories gelsvn

Rev

Rev 195 | Rev 197 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 195 Rev 196
Line 19... Line 19...
19
 
19
 
20
namespace CGLA 
20
namespace CGLA 
21
{
21
{
22
		inline float cgla_nan() 
22
		inline float cgla_nan() 
23
		{
23
		{
24
				static const float cgla_nan_value = log(1.0f);
24
				static const float cgla_nan_value = log(-1.0f);
25
				return cgla_nan_value;
25
				return cgla_nan_value;
26
		}
26
		}
27
		
27
		
28
  /** Procedural definition of NAN */  
28
  /** Procedural definition of NAN */  
29
#define CGLA_NAN cgla_nan()
29
#define CGLA_NAN cgla_nan()