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?
merse 0 Junior Poster
arkoenig 340 Practically a Master Poster
merse 0 Junior Poster
arkoenig 340 Practically a Master Poster
merse 0 Junior Poster
merse 0 Junior Poster
merse 0 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.