Inf In C

Blog

Inf In C - Why does my calculation give 'inf' instead of a number? This code is meant to compute the mathematical constant e by adding inverse factorials: My code is in the following, i want know if it is correct: Only meaningful if std::numeric_limits::has_infinity==true. In ieee 754, the most. Different floating point processor manufacturers chose different paths. The term indefinite nan refers to this special quiet nan, whatever the processor ends up choosing it to.

Why does my calculation give 'inf' instead of a number? This code is meant to compute the mathematical constant e by adding inverse factorials:

Inf In C