A lookup table for fast Python math