Blender Git Loki

Git Commits -> Revision 7539009

Revision 7539009 by Sv. Lockal (master)
January 24, 2013, 20:54 (GMT)
Do not redefine math functions for floats if compiler complies with C99 or POSIX.1-2001

This is useful for gcc which does not define sqrtf/powf/... functions with preprocessor and therefore always used sqrt/pow/...
Float functions are generally 20-50% faster than their equivalents for double type.

Commit Details:

Full Hash: 7539009d5b3ee1b2ddb76400917a9876a3cfe184
SVN Revision: 54087
Parent Commit: ca7b277
Lines Changed: +5, -0

1 Modified Path:

/source/blender/blenlib/BLI_math_base.h (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021