fix formatting in pow2
expx2 now returns an integer, modify table prod test to call it with the right input type