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:
authorCampbell Barton <ideasman42@gmail.com>2015-04-24 04:37:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-24 04:37:48 +0300
commitbdf6393c98cf87d1e67e6b664037a00383806ffe (patch)
treed448186859c7cd3bd2df16751202ba687b314fd8 /source/blender/blenlib/BLI_math_base.h
parentf829f556b430050ff8e87e7f287a468e94cd7e77 (diff)
Math Lib: pow_i for int power-of
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 ae2b6a4da9f..79a2d57c966 100644
--- a/source/blender/blenlib/BLI_math_base.h
+++ b/source/blender/blenlib/BLI_math_base.h
@@ -214,6 +214,7 @@ MINLINE int iroundf(float a);
MINLINE int divide_round_i(int a, int b);
MINLINE int mod_i(int i, int n);
+int pow_i(int base, int exp);
double double_round(double x, int ndigits);
#ifdef BLI_MATH_GCC_WARN_PRAGMA