Blender Git Commit Log

Git Commits -> Revision 8cc87c4

December 19, 2020, 03:59 (GMT)
BLI_math: add floor_power_of_10, ceil_power_of_10

Add utility functions to get the floor/ceiling of a float value
to the next power of 10.

Commit Details:

Full Hash: 8cc87c4946c0c016547f684f539dcc6189ea36cb
Parent Commit: e7fc096
Committed By: YimingWu
Lines Changed: +57, -0

3 Modified Paths:

/source/blender/blenlib/BLI_math_base.h (+3, -0) (Diff)
/source/blender/blenlib/intern/math_base.c (+36, -0) (Diff)
/source/blender/blenlib/tests/BLI_math_base_test.cc (+18, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021