News for hackers. Stuff that matters.
Re:Quake 2 Source Code Review by apaprocki on Tuesday September 20, 2011 @06:14PM (#3019835)
http://gafferongames.com/networking-for-game-programmers/flo...

Search for _controlfp.. seems some MS API calls could change it.

Re:Quake 2 Source Code Review by daemin on Tuesday September 20, 2011 @08:47PM (#3020264)
I've also experienced Windows / DirectX API's use MMX, hence the floating point code I was using (x87 FPU) required a femms instruction before it to change back from MMX state.

This just goes to show that if you need a particular state on a processor (CPU, FPU, GFX, etc) you need to set it explicitly before use.