15 m_firstSimplestNumber (0)
23 double absMin = qAbs (xMin);
24 double absMax = qAbs (xMax);
25 int D = qFloor (log10 (qMax (absMin, absMax)) +
EPSILON);
31 double roundedMin = 0.0;
34 roundedMin = roundToDigit (xMin, R);
35 double nominalStep = qPow (10.0, R);
37 if (xMin < 0 && xMin < roundedMin) {
40 roundedMin -= nominalStep;
44 if (roundedMin + 2 * nominalStep <= xMax) {
51 m_firstSimplestNumber = roundedMin;