Conversation
Notices
-
Embed this notice
chjara (chjara@akko.wtf)'s status on Wednesday, 06-Nov-2024 05:53:37 JST chjara it's weird seeing people say floating point arithmetic is non-deterministic. it's actually very deterministic, to the pain of writing anything standard compliant -
Embed this notice
linear cannon (linear@nya.social)'s status on Wednesday, 06-Nov-2024 06:02:21 JST linear cannon @chjara@akko.wtf in theory, sure. but if you try to pretend that this is true in the real world then you will run into issues when someone tries to run your code on proper 32-bit x86 without sse2. or when you find out the hard way that sometimes AMD and Intel CPUs return slightly different results for a number of different transcendental operations
Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
F00F the elusive (f00fc7c8@woem.space)'s status on Wednesday, 06-Nov-2024 06:02:46 JST F00F the elusive @chjara i think people are confusing “imprecise” and “varies by processor architecture” with “non-deterministic”
it’s entirely deterministic but it doesn’t give an exact result
Haelwenn /элвэн/ :triskell: likes this.
-
Embed this notice