A function for calculating magnitude order of a number

integer_log here is what I meant.

1 Like