i tried run method expint from cmath and got error, i used c++17, c++17 should support this method but it doesn't see it. C++ version Apple clang version 13.1.6 (clang-1316.0.21.2). which version should I use so that the expint method is available?
//#define __STDCPP_WANT_MATH_SPEC_FUNCS__ 1
//#define __STDCPP_MATH_SPEC_FUNCS__ 201003L
#include <cmath>
#include <iostream>
int main(int argc, const char * argv[]) {
std::cout << "Hello, World!\n";
std::expint(10.4);
return 0;
}
expint docs one more expint docs
error

