projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'mesa-public/master' into vulkan
[mesa.git]
/
include
/
c99_math.h
diff --git
a/include/c99_math.h
b/include/c99_math.h
index 0ca5a73b58adf72dd9f824f4b48211e08a8c3738..8a67fb133d6e26013c0e5be8e5d84d33d0a5b5e9 100644
(file)
--- a/
include/c99_math.h
+++ b/
include/c99_math.h
@@
-146,6
+146,12
@@
exp2f(float f)
return powf(2.0f, f);
}
+static inline double
+exp2(double d)
+{
+ return pow(2.0, d);
+}
+
#endif /* C99 */