2 ms·
They're basically the same thing, just the integer aliasing approach is a lookup table with one element in it, while an actual lookup table will have more, givi
by creato 6y ago
They're basically the same thing, just the integer aliasing approach is a lookup table with one element in it, while an actual lookup table will have more, giving better precision for roughly the same cost (or even better, since you don't need to load the constant into a register).