2 ms·
What word would you use if sin(x) returns a different value on different platforms, or even different OS or librsry version? Sure smells like a fiction that dep
by TylerE 3y ago
What word would you use if sin(x) returns a different value on different platforms, or even different OS or librsry version? Sure smells like a fiction that depends on external state rather than simply its input.
- Retr0id 3y agoThe existence of platforms that do not conform to their own specifications does not make an operator non-deterministic. Edit: I found this pretty great article on the subject https://randomascii.wordpress.com/2013/07/16/floating-point-determinism/ https://randomascii.wordpress.com/2013/07/16/floating-point-... We're both right, depending on how you frame the question.
- heinrich5991 3y agosin(x) is platform-dependent.