summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-24 09:01:51 -0700
committerBrian Paul <[email protected]>2015-02-24 14:44:19 -0700
commit79b480ccc069b92d4614ed7f61d810bdc816cb7c (patch)
tree775d9eba1c3371b3f134f686b7719cc9afde36cb /src/mesa/main/imports.h
parente25f7772cacef8673318a7bfb33b151c5bc5d94c (diff)
mesa: replace LOGF, EXPF with logf, expf
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r--src/mesa/main/imports.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index cb871481c1f..b7bb6e271ba 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -207,22 +207,16 @@ static inline GLfloat LOG2(GLfloat x)
*** CEILF: ceiling of float
*** FLOORF: floor of float
*** FABSF: absolute value of float
- *** LOGF: the natural logarithm (base e) of the value
- *** EXPF: raise e to the value
***/
#if defined(__gnu_linux__)
/* C99 functions */
#define CEILF(x) ceilf(x)
#define FLOORF(x) floorf(x)
#define FABSF(x) fabsf(x)
-#define LOGF(x) logf(x)
-#define EXPF(x) expf(x)
#else
#define CEILF(x) ((GLfloat) ceil(x))
#define FLOORF(x) ((GLfloat) floor(x))
#define FABSF(x) ((GLfloat) fabs(x))
-#define LOGF(x) ((GLfloat) log(x))
-#define EXPF(x) ((GLfloat) exp(x))
#endif