5 ms·
Java does have Math.scalb() which would work. It would be interesting to see how that compares to the Math.pow() and table lookup methods.
by nwhitehead 11y ago
Java does have Math.scalb() which would work. It would be interesting to see how that compares to the Math.pow() and table lookup methods.