BLI: add safe_powf function

The same function is also used by cycles.
This commit is contained in:
2020-07-16 10:46:18 +02:00
parent 4a9d903e2b
commit 35bfe1702c
3 changed files with 20 additions and 0 deletions

View File

@@ -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);