diff options
Diffstat (limited to 'src/video-math.h')
| -rw-r--r-- | src/video-math.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video-math.h b/src/video-math.h index fe0e604..281c8f6 100644 --- a/src/video-math.h +++ b/src/video-math.h @@ -59,6 +59,7 @@ posmodf(float a, float b) #define pow(...) MATH_GENERIC_N(pow, __VA_ARGS__) #define log2(...) MATH_GENERIC_1(log2, __VA_ARGS__) +#define log(...) MATH_GENERIC_1(log, __VA_ARGS__) #define abs(...) MATH_GENERIC_1(fabs, __VA_ARGS__) #define sqrt(...) MATH_GENERIC_1(sqrt, __VA_ARGS__) #define exp(...) MATH_GENERIC_1(exp, __VA_ARGS__) @@ -68,6 +69,9 @@ posmodf(float a, float b) #define nnpow(...) MATH_GENERIC_N(nnpow, __VA_ARGS__) #define mod(...) MATH_GENERIC_N(fmod, __VA_ARGS__) #define posmod(...) MATH_GENERIC_N(posmod, __VA_ARGS__) +#define cos(...) MATH_GENERIC_1(cos, __VA_ARGS__) +#define sin(...) MATH_GENERIC_1(sin, __VA_ARGS__) +#define atan2(...) MATH_GENERIC_N(atan2, __VA_ARGS__) #define srgb_encode(...) BLIND_GENERIC_1(srgb_encode, __VA_ARGS__) #define srgb_decode(...) BLIND_GENERIC_1(srgb_decode, __VA_ARGS__) |
