check that `base` is Number
check that
baseis Number