numeric_limits<double>::epsilon() gives the error of (double)1.0

in the sense that 1+epsilon is the next double value which is represented.

But how can we calculate the error of arbitrary double number?

This topic has been dead for over six months. Start a new discussion instead.

Recommended Topics