5 ms·
This is a storm in a tea cup. "The absolute error ... was fairly constant at about 4e-21, which is quite small. For many purposes this will not matter" Good pr
by nroets 12y ago
This is a storm in a tea cup.
"The absolute error ... was fairly constant at about 4e-21, which is quite small. For many purposes this will not matter"
Good programmers know that most floating point calculations introduce small errors and find ways to make their programs cope.
- lvh 12y agoThat's pretty bad for a double that you're about to do a bunch of operations with. It's pretty easy to throw numerical precision away.