Closed gussmith23 closed 5 years ago
Sorting posits shouldn't be done in viz.js; instead, we should have a function in the posit library that returns the subsets of posits you need, sorted---e.g. it would return four subsets: (1) positive posits, sorted, (2) negative posits, sorted, (3) zero, (4) infinity.
I want to figure out exactly what functions are needed in posit.js to ensure that viz.js doesn't have to reason about posits. viz.js may need to do some reasoning, of course, but we should really separate it as much as possible.