The dumb or simple lookup is a program that looks in the huge
tables to see if there is a match between the input X (your number) and an
entry in the tables.
We had to be sure that the output is always positive, so this is why there are 'abs' in many of them. Also we had to choose to limit the input (X) to be between 1/1000 and 1000.