None Proper use of variables in operations 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: News Project Step #2, deadline Wednesday 13 November (Mike O'Donnell)
Date: 2002, Nov 12
From: Rich Lusk <lusk@uchicago.edu>

I'm having some trouble with the formats of the operations. I have required the precision values to be applied to the arguments to add_xreal, for example, so that it can be evaluated. But is this necessary?

(((add_xreal (rational->xreal 2) (rational->xreal 3)) 2 4) 10)

;Value 24: (2 8)

Without those two arguments, I do not see a way to produce an interval by supplying the add_xreal xreal with only a precision value.

However, leaving the format how I have it seems hopelessly imprecise. I'm stuck. Big thanks if you can help me out.

--Rich Lusk


Messages

1. Feedback In ((add_xreal xr1 xr2) p) compute precisions for xr1, xr2 from p by Mike O'Donnell, 2002, Nov 12
(_ None Thanks by Rich Lusk, 2002, Nov 12

to: "Proper use of variables in operations"