MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / get_infinity

Function get_infinity

include/boost/multiprecision/cpp_bin_float.hpp:2215–2220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2213 return ldexp(number_type(1u), -1);
2214 }
2215 static number_type get_infinity()
2216 {
2217 number_type value;
2218 value.backend().exponent() = boost::multiprecision::cpp_bin_float<Digits, DigitBase, Allocator, Exponent, MinE, MaxE>::exponent_infinity;
2219 return value;
2220 }
2221 static number_type get_quiet_NaN()
2222 {
2223 number_type value;

Callers 2

infinityMethod · 0.85
infinityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected