Warp schrieb:
> Well, sometimes it is useful to be able to poke at memory directly.
> For example, changing the sign of a floating point value is much faster
> by flipping that one bit at the end of it than doing it with the FPU.
> (Of course after this little trick your program will assume IEEE floating
> point numbers. But for many purposes that suffices.)
I would think that a good optimizing compiler would translate something
like "x = -x;" to equally efficient code...?
Post a reply to this message
|