Return base unit from #best_prefix if scalar is 0

Without this, #best_prefix will raise FloatDomainError while trying to
call #floor on '-Infinity' if the scalar is 0.