[ODE] Record and Playback

Jon Watte hplus-ode at mindcontrol.org
Tue Jan 27 18:56:59 MST 2004


> FP precision/rounding modes - are these controlled via processor
> instructions?  How/what do I do in this regard to ensure maximum
> reproducibility?  Any info would be appreciated.

Yup. It's the floating point control word bits, set with fldcw (get the x86 Instruction Set Reference PDF from Intel -- it's about a 1000 page download).

Warning: calling some DLLs (including DirectX) will change the rounding and precision bits from underneath you. Re-set the bits at the start of each simulation step!

Cheers,

			/ h+




More information about the ODE mailing list