Re: A Level 2 query
Bill, Richard,
On 06/20/2013 11:09 AM, G. William (Bill) Walster wrote:
Suppose you have the function
SUB(X)
INTERVAL X
SUB = X-X
RETURN
and in the calling program
INTERVAL X
X = [-1,1]
Y = X-X
Z = SUB(X)
PRINT, X, Y, Z
END
Do you expect to get [0,0] for Z and [-2,2] for Y? Isn't that what
your "without dependency slop" remark implies?
If so, then the standard should make it very clear that interval
arguments of functions are to be evaluated differently from regular
interval variables.
Is such a specification within the scope of our arithmetic standard, is
it only within the
scope of a language standard, is it something our arithmetic standard should
say about a language standard claiming to use the arithmetic standard, or
is it something else?
Baker
--
---------------------------------------------------------------
R. Baker Kearfott, rbk@xxxxxxxxxxxxx (337) 482-5346 (fax)
(337) 482-5270 (work) (337) 993-1827 (home)
URL: http://interval.louisiana.edu/kearfott.html
Department of Mathematics, University of Louisiana at Lafayette
(Room 217 Maxim D. Doucet Hall, 1403 Johnston Street)
Box 4-1010, Lafayette, LA 70504-1010, USA
---------------------------------------------------------------