Hello everyone,
I hope you have a great christmas time.
Recently I came across the cinder::math
class and realized, that it’s functions mostly just forward the arguments to the respective c standard library functions. Now I was wondering if there is any advantage of using the cinder::math
class instead of the c++ standard library math functions, that already have overloads for different floating point (and in some cases integer) types.
So in summary:
What is the purpose/advantage of cinder::math
/ when should it be used instead of the standard math functions?