time.time() strangeness

Roel Schroeven rschroev_nospam_ml at fastmail.fm
Wed Feb 27 23:43:13 CET 2008

Nitro schreef:
> Ok, my final solution is to add the D3DCREATE_FPU_PRESERVE flag. It didn't  
> harm performance in a noticeable way at all. I was under the impression  
> SSE would be affected by this, too. Additionally I was under the  
> impression that float precision would suffice for time.time(). Obviously I  
> was blatantly wrong :-)

Float precision might even be enough but DirectX (without the flag) 
switches to even lower precision than that; only 22 bits IIRC.

> They should really make the fpu preserve flag the default. It just causes  
> very sneaky bugs.



More information about the Python-list mailing list