gussmith23 / posit-bisection-viz

10 stars 3 forks source link

Remove reasoning about posits from anything but posit.js; enrich posit.js interface as needed #42

Closed gussmith23 closed 5 years ago

gussmith23 commented 5 years ago

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.

gussmith23 commented 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.