minAbsMag returns the minumum magnitude of the absolute values of a and b.
(a, b float64)
| 183 | |
| 184 | // minAbsMag returns the minumum magnitude of the absolute values of a and b. |
| 185 | func minAbsMag(a, b float64) int { |
| 186 | return int(math.Min(math.Floor(math.Log10(math.Abs(a))), (math.Floor(math.Log10(math.Abs(b)))))) |
| 187 | } |
| 188 | |
| 189 | // simplicity returns the simplicity score for how will the curent q, lMin, lMax, |
| 190 | // lStep and skip match the given nice numbers, Q. |
no test coverage detected