Re: [Algorithms] How to get 3dvector largest coordinate index?
Brought to you by:
vexxed72
From: Matt J <mjo...@gm...> - 2009-03-02 21:49:08
|
It was already mentioned using a union fixes the aliasing rules that come into effect when you are adhering to C99 standards. Why is the word "solutions" in quotes? Your blog is full of bit twiddling exercises ;-) > None of the posted "solutions" that access the float bits > using an integer pointer are legit as they all treat an > area of memory as having two different types at the same > time (which is illegal). > > Christer Ericson, Director of Tools and Technology > Sony Computer Entertainment, Santa Monica > |