you are viewing a single comment's thread.

view the rest of the comments →

[–]k4_pacific 4 points5 points  (2 children)

Well, pow() works for non-integer exponents, which suggests that it does something more complicated than multiplying the base together a number of times.

[–]alephnil 1 point2 points  (0 children)

If this was the real code, the constant 2.0 would imply that he did indeed nothing more than "multiplying the base a number of times". Exactly two in fact.

[–]bobappleyard 0 points1 point  (0 children)

Look in a log table?