[ODE] Re: Fw: Re: Deterministic simulation on multiple clients

Hampus Soderstrom hampus at sxp.se
Tue Mar 22 22:50:57 MST 2005


>
> How can I modify the FPU word on Windows? Are there any API for this  
> or do I need to use assembler?

I think controlfp is what you looking for.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/ 
html/_crt__control87.2c_._controlfp.asp


Anyone know how to modify this on OS X?

>
> By the way, I found out that in DirectX you can use the  
> DDSCL_FPUPRESERVE flag if you want it to restore the old precision  
> mode before returning control to the application.
>
> /Henrik
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>



More information about the ODE mailing list