In the C ++ compatible standard, is the following guaranteed:
#include <limits> std::numeric_limits<float>::has_infinity
I am not an expert, but it does not depend on the value is_iec559(tests, if the type complies with IEC-559 / IEEE-754)?
is_iec559
It should, assuming your library implementation follows C ++ standards and uses float with infinity.