|
Just like last time, in_xrealcomp is getting to me: the definition you give (|xr1 - xr2| < prec) implies that we already have a way of ordering two numbers (namely the absolute value, and prec). But these numbers would need to be compared with comporder again, which leads to problems. In the precfunc implementation we got around this by working with intervals - in this one I'm thinking we should do something with the number of digits we compare - I can see this working for lt and gt, but not for indistinguisability. Any thoughts? |
Every finite prefix represents an interval by Mike O'Donnell, 2002, Nov 18
precision by Katie Edmonds, 2002, Nov 18
xreal abstraction is the same, implementation is different by Mike O'Donnell, 2002, Nov 18
prec rational? by Mark Kittisopikul, 2002, Nov 18
precision is rational, what is "this"? by Mike O'Donnell, 2002, Nov 18
to: