Anonymous user
Talk:Safe addition: Difference between revisions
m
typo
(Some interval arithmetic issues) |
m (typo) |
||
Line 1:
Wouldn't the sum of the two ranges be (''a''+<small>↓</small>''b'', ''a''+<small>↑</small>''b'')? Modulo whether they are closed or open bounds, of course (my argument doesn't depend on that). I can't see any logical reason for assuming otherwise, as the “real” values of ''a'' and ''b'' could be anywhere from the lower bound to the upper bound; that's got to be what the range means, with appropriate infinitesimals in the open bound case, of course. (Yes, this does mean that the error will increase as more operations are performed; this is a normal feature of calculations with physical quantities if I'm remembering my Physics-101 class right.) —[[User:Dkf|Donal Fellows]] 22:52, 18 August 2009 (UTC)
: I am not sure, if this answers your question. Addition of intervals is defined as [''a'', ''b''] + [''c'', ''d''] = [''a'' + ''c'', ''b'' + ''d'']. With +↓ and +↑ operations its machine implementation becomes [''a'' +↓ ''c'', ''b'' +↑ ''d'']. As for error (rather
|