Closed dschwen closed 5 years ago
There's a whole swath of useful functions that C++11 added and we ought to too, isn't there?
https://en.cppreference.com/w/cpp/numeric/math
There's also a whole swath of pointless alternative names that C++11 added, I guess for easier transitioning from C99, which we should add too for maximum compatibility with preexisting code.
I'm kind of tempted to procrastinate on anything like remquo that has a call signature too weird to fit into our existing macros, though, at least until we encounter an actual user who wants it.
Closed by #39
std::cbrt(x)
is faster and more mnemonic thanstd::pow(x, 1.0/3.0)
. Would be nice to have support for it in MetaPhysicL