'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var exponent = require('./exponent.js');

function precisionRound(step, max) {
  step = Math.abs(step), max = Math.abs(max) - step;
  return Math.max(0, exponent.default(max) - exponent.default(step)) + 1;
}

exports.default = precisionRound;
