I'd like to utilize C++14's constexpr semantics expansion to calculate some mathematical formulae at compile time. But - I don't want to "roll my own" constexpr versions of
sin() etc. It's not that I couldn't do it, it's just that it would be reinventing the wheel.
So has anyone published such a library?
- Must be platform-independent.
- No Boost dependencies please.
- It should be C++14-based; just C++11 would make for a rather contrived implementation.
- Since we're talking about constexpr here, it should be portable and the hardware and OS details shouldn't really matter.