I've been working on a deterministic maths library for LuaJIT, and after research I am aware that multiplication, division, addition, subtraction, and square root are deterministic (as long as the same rounding mode is active) due to the IEEE 754 standard. However I also have a hunch that x^y where y is an integer may also be deterministic, as there is no error-- at least, no error when x is an integer-- when I try it, as if an algorithm like exponentiation by squaring was active. It would make sense if that were the case on all systems. I'm wondering if anyone in the know would have any idea if that's true.
By deterministic I mean giving the exact result on all systems.