(step)
| 9794 | } |
| 9795 | |
| 9796 | function precisionFixed(step) { |
| 9797 | return Math.max(0, -exponent(Math.abs(step))); |
| 9798 | } |
| 9799 | |
| 9800 | function precisionPrefix(step, value) { |
| 9801 | return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3 - exponent(Math.abs(step))); |
no test coverage detected