Live data from Hacker News

Floats Don't Agree with Themselves

docs.merca.earth

1–10 of 36 posts

Re: Floats Don't Agree with Themselves

#5
post #4

I love seeing a Shewchuk citation other than my ML background of learning conjugate gradient! He is truly a great educator!

his predicates paper opens with "Computational geometers despise floating-point arithmetic" same trick as the CG title: write the sentence a frustrated reader would write, then aren it.. if you like those the Triangle paper is the third one in the same key

Re: Floats Don't Agree with Themselves

#6
post #3

Makes you wish everyone agreed on extended precision!

careful what you wish for, x87's extended precision is what wrote the original bug: 80 bits in registers,64 on a spill, so the value depended on register pressure

ARM and WASM dropped it for a reason, and more bits would not help anyway, a sign is one bit, any rounding step that disagrees at the last bit flips it

Re: Floats Don't Agree with Themselves

#7
Not sure if this was written with AI assistance of not, but I've become allergic to linguistic triples as LLMs use them so much, reading "Same code. Same input. Different answer" makes me not want to read the rest.

Re: Floats Don't Agree with Themselves

#8
post #7

Not sure if this was written with AI assistance of not, but I've become allergic to linguistic triples as LLMs use them so much, reading "Same code. Same input. Different answer" makes me not want to read the rest.

a tricolon crescens ^^ https://latinaadvitam.blogspot.com/2007/02/poetry-device-of-...

Re: Floats Don't Agree with Themselves

#9
post #7

Not sure if this was written with AI assistance of not, but I've become allergic to linguistic triples as LLMs use them so much, reading "Same code. Same input. Different answer" makes me not want to read the rest.

a tricolon crescens ^^ https://latinaadvitam.blogspot.com/2007/02/poetry-device-of-...

I think the problem is the mismatch between the intended evocative tone of tricolon crescens and the triviality of a 'computer quirk' in the grand scheme of things. "Use figures of speech, but don't sling them around like monkey shit" - my literature teacher.
Post reply on HN