Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-07-16 11:46:18 +0300
committerJacques Lucke <jacques@blender.org>2020-07-16 11:46:18 +0300
commit35bfe1702c3754af17f440c7ee7cb0e9abb8fa9d (patch)
tree317c7f69eabe438062ebe41e6c0ddbeada3e8e5a /source/blender/blenlib/BLI_math_base.h
parent4a9d903e2bfd4f6b3f64b482344bc853a6d93236 (diff)
BLI: add safe_powf function
The same function is also used by cycles.
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-rw-r--r--source/blender/blenlib/BLI_math_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h
index c456ab0ecef..49aa9f3b465 100644
--- a/source/blender/blenlib/BLI_math_base.h
+++ b/source/blender/blenlib/BLI_math_base.h
@@ -103,6 +103,7 @@ MINLINE float pow2f(float x);
MINLINE float pow3f(float x);
MINLINE float pow4f(float x);
MINLINE float pow7f(float x);
+MINLINE float safe_powf(float base, float exponent);
MINLINE float sqrt3f(float f);
MINLINE double sqrt3d(double d);