You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in #85 it's a little inconvenient to have _USE_MATH_DEFINES littered everywhere we want to use a math constant in.
My suggestion would be to have a file with constants protected with a namespace and something like constexpr real_type PI = M_PI. We can def and undef _USE_MATH_DEFINES around it. In any case, we need one place where we define $\pi$ in the entire code. I would use a separate PR for that, though.
As mentioned in #85 it's a little inconvenient to have
_USE_MATH_DEFINES
littered everywhere we want to use a math constant in.Originally posted by @pelesh in #85 (comment)
The text was updated successfully, but these errors were encountered: