|
|
|
|
|
by f2f
3400 days ago
|
|
Any time you see a decimal floating-point constant with a nonzero fractional part that doesn't end in '5', you're looking at a bug. depends on the language. for example here it is in go: Pi = 3.14159265358979323846264338327950288419716939937510582097494459 // http://oeis.org/A000796
|
|
So, go might have that value in its source, but it's getting rounded to something that would, if represented in decimal, end in 5.