diff options
author | Sv. Lockal <lockalsash@gmail.com> | 2013-01-25 00:54:12 +0400 |
---|---|---|
committer | Sv. Lockal <lockalsash@gmail.com> | 2013-01-25 00:54:12 +0400 |
commit | 7539009d5b3ee1b2ddb76400917a9876a3cfe184 (patch) | |
tree | bc0b379f0473e9d4d2a8dd90521b7e0f0151b8f2 /source/blender/blenkernel/BKE_main.h | |
parent | ca7b277c120e4622c816b8a6d922d64ccf050bd0 (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/BKE_main.h')
0 files changed, 0 insertions, 0 deletions