Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is well-known by everyone who works with float determinism. You have to set the FPU flag with assembler to force the desired width (among other things). See: fldcw, LDMXCSR, etc.

Take into account rounding modes and denormals too, and make sure to disable float optimisations that break determinism in your compiler.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: