check for full C++11 math

Merged
#152 · Created  · Last updated

Merged pull request

Cactus: regenerate configure

99c6170·Author: ·Closed by: ·2023-06-01

Description

Cactus expects a fully functioning C++11 math library eg for isnan (in std and :: namespace). Old versions of g++ (older than 6) and any version of icpc using an old g++ libstdc++ fail a test code like:

#include <cmath> int main() { using namespace std; float fzero = 0.f; double dzero = 0.; isnan(fzero); isnan(dzero); return 0; }

Eg gcc-4.8 on RHEL 7.9 does this (but not gcc 4.8 on a modern Debian box).

0 attachments

0 comments

Loading commits...