Comment 7 for bug 2061291

Revision history for this message
Christophe Rhodes (csr21-cantab) wrote :

> This is definitely something to be fixed in glut.

Well, as Stas says, manipulating the floating point control word is expensive. It might be that GLUT should document the requirements regarding the floating point modes in the control word. Then it would be down to the user to either wrap calls to glut with something that saves and restores the floating point modes (that's `sb-int:with-float-traps-masked`, for example) or else disables them globally for the process, using `sb-int:set-floating-point-modes`, e.g. `(sb-int:set-floating-point-modes :traps nil)`.