Any time a float and int are used with aliased points, for short.
e.g.
int* x = (int*)&float_value;
*x = 0x7F000000; //set to 1.0f or something
union asdf {
int x;
float f;
} var;
var.f = 123.0f;
var.x >>= 2; //aliasing issue.
See C99 spec for what is/isn't legal. Check network and file code for
problems.
On Wed, Jun 30, 2010 at 5:02 AM, Michael Menegakis <[email protected]> wrote:
> What is the portion of the code that is 'saved' by it?
> _______________________________________________
> ioquake3 mailing list
> [email protected]
> http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
> By sending this message I agree to love ioquake3 and libsdl.
>
_______________________________________________
ioquake3 mailing list
[email protected]
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.