long_division(A, B): | |
(A / B): |
p_max: | (Maximum precision) | |
p_min: | (Minimum precision) | |
Repeat singles twice: (i.e. 1.33 instead of 1.3) |
||
Use ≈ symbol for non-exact output: |
Quick Tests: |
(1-digit repeating pattern) |
(1-digit repeating pattern) |
(3-digit repeating pattern) |
(6-digit repeating pattern) |
(1 non-repeating + 1-digit repeating pattern) |
(1 non-repeating + 3-digit repeating pattern) |
(integer result) |
(1-decimal evenly-divisible result) |
(6-decimal evenly-divisible result) |
(negative A) |
(negative B) |
(negative A and B) |