File tree Expand file tree Collapse file tree 4 files changed +0
-15
lines changed Expand file tree Collapse file tree 4 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ SET(HAVE_LDIV 1 CACHE INTERNAL "")
87
87
SET (HAVE_LIMITS_H 1 CACHE INTERNAL "" )
88
88
SET (HAVE_LOCALE_H 1 CACHE INTERNAL "" )
89
89
SET (HAVE_LOCALTIME_R 1 CACHE INTERNAL "" )
90
- #SET(HAVE_LOG2 CACHE INTERNAL "")
91
90
SET (HAVE_LRAND48 CACHE INTERNAL "" )
92
91
SET (HAVE_LSTAT CACHE INTERNAL "" )
93
92
SET (HAVE_MADVISE CACHE INTERNAL "" )
Original file line number Diff line number Diff line change 165
165
#cmakedefine HAVE_LDIV 1
166
166
#cmakedefine HAVE_LRAND48 1
167
167
#cmakedefine HAVE_LOCALTIME_R 1
168
- #cmakedefine HAVE_LOG2 1
169
168
#cmakedefine HAVE_LSTAT 1
170
169
#cmakedefine HAVE_MEMALIGN 1
171
170
/* #cmakedefine HAVE_MLOCK 1 see Bug#54662 */
Original file line number Diff line number Diff line change @@ -477,8 +477,6 @@ CHECK_SYMBOL_EXISTS(TIOCSTAT "sys/ioctl.h" TIOCSTAT_IN_SYS_IOCTL)
477
477
CHECK_SYMBOL_EXISTS (FIONREAD "sys/filio.h" FIONREAD_IN_SYS_FILIO )
478
478
CHECK_SYMBOL_EXISTS (gettimeofday "sys/time.h" HAVE_GETTIMEOFDAY )
479
479
480
- CHECK_SYMBOL_EXISTS (log2 math .h HAVE_LOG2 )
481
-
482
480
#
483
481
# Test for endianness
484
482
#
Original file line number Diff line number Diff line change @@ -843,17 +843,6 @@ inline unsigned long long my_double2ulonglong(double d)
843
843
#define M_LN2 0.69314718055994530942
844
844
#endif
845
845
846
- #ifndef HAVE_LOG2
847
- /*
848
- This will be slightly slower and perhaps a tiny bit less accurate than
849
- doing it the IEEE754 way but log2() should be available on C99 systems.
850
- */
851
- static inline double log2 (double x )
852
- {
853
- return (log (x ) / M_LN2 );
854
- }
855
- #endif
856
-
857
846
/*
858
847
Max size that must be added to a so that we know Size to make
859
848
addressable obj.
You can’t perform that action at this time.
0 commit comments