|
|
|
|
|
by iainmerrick
3151 days ago
|
|
Sure, I meant “relatively easily reproducible in portable C code”. I may be wrong, but it’s my understanding that even given the precise rounding modes, fusing etc, the results could still differ as implementations are allowed to use varying extended precision internally (and do). For example, as far as I know it’s difficult to guarantee identical FPU results on x86 and ARM. [Edit to add: I guess I'm complaining about the popular implementations rather than the IEEE spec itself, but for ordinary users like me it amounts to the same thing. Overall IEEE 754 is wonderful, so it's exciting to see a proposal for something even better!] |
|
Can you give details/ressources on how it is difficult to obtain identical FPU results on x86 and ARM?
Does this even hold if you program in assembly using either
- only the primitives that are defined exactly in IEEE 754:2008 (i.e. not some functions defined in some, say, C library)
or
- using "identical" implementations of more complex functions (i.e. not the IEEE 754 primitives; think of cos, erf, gamma, ...)?