summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-02-24 09:01:51 -0700
committerBrian Paul <brianp@vmware.com>2015-02-24 14:44:19 -0700
commit79b480ccc069b92d4614ed7f61d810bdc816cb7c (patch)
tree775d9eba1c3371b3f134f686b7719cc9afde36cb /src/mesa/main/imports.h
parente25f7772cacef8673318a7bfb33b151c5bc5d94c (diff)
downloadexternal_mesa3d-79b480ccc069b92d4614ed7f61d810bdc816cb7c.zip
external_mesa3d-79b480ccc069b92d4614ed7f61d810bdc816cb7c.tar.gz
external_mesa3d-79b480ccc069b92d4614ed7f61d810bdc816cb7c.tar.bz2
mesa: replace LOGF, EXPF with logf, expf
Reviewed-by: Matt Turner <mattst88@gmail.com>
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 cb87148..b7bb6e2 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