[SDL] Flickering and division by zero in Windows

Andre de Leiradella leiradella at bigfoot.com
Sun Feb 25 07:52:45 PST 2007


> How would you express infinity in binary?  
>  
> Lilith
>   
Using doubles (8-byte):

+inf: 3f f0 00 00 00 00 00 00
-inf: bf f0 00 00 00 00 00 00

Or in C:

pinf = 1.0 / 0.0;
ninf = -1.0 / 0.0;

Cheers,

André


More information about the SDL mailing list