I wonder whether the math would be faster than the lookup...