portable_math.h

Go to the documentation of this file.
00001 #ifndef PORTABLE_MATH_H_INCLUDED_p
00002 #define PORTABLE_MATH_H_INCLUDED_p
00003  
00008 
00009 
00010 #include <math.h>  
00011  
00012 #ifdef _MSC_VER
00013  
00014 inline double log2( double n )  
00015   
00016 {  
00017     
00018     return log( n ) / log( 2.0 );  
00019 }
00020 #endif
00021  
00022 #endif
Generated on Wed Feb 29 22:50:04 2012 for CXXUtilities by  doxygen 1.6.3