Allow new Rat(1n, 0n) and then make strategic use of it in various places in our logic. This allows code in munge.js, and especially segment.js to be simplified quite significantly, in exchange for only a very small amount of increased complexity in rat.js.
Allow
new Rat(1n, 0n)
and then make strategic use of it in various places in our logic. This allows code inmunge.js
, and especiallysegment.js
to be simplified quite significantly, in exchange for only a very small amount of increased complexity inrat.js
.