Flow of learning makes efficient results.
esv::class_type::is_inf
Method .is_inf of esv::class_type is used to check if the object value is infinity.
#include <esvcpp/core.hpp> int main() { constexpr esv::fx64 a = esv::fx64_max; const esv::fx64 b = a/0.123; const esv::fx64 c = -b; esv::print(a.is_inf(), b.is_inf(), c.is_inf()); // false true true }