3 ms·
The fast inverse square root trick is clever, but this is right on. It's bypassing the provided interface for FP operations and mucking around with implementati
by mrbrowning 13y ago
The fast inverse square root trick is clever, but this is right on. It's bypassing the provided interface for FP operations and mucking around with implementation details. That's not to say that that's a bad thing, or that floating point numbers aren't a leaky abstraction, or that the real world doesn't demand this sort of optimization from time to time. But it's still true.