"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const Math$1 = require("../../util/Math.js");
function o(a, n) {
  var e = Math$1.log10(a.min), i = Math$1.log10(a.max), m = Math.abs(e) + Math.abs(i);
  return m / n;
}
function u(a, n) {
  return Math.max(a.min, Math.min(a.max, n));
}
exports.cap = u;
exports.getStepSize = o;
