Skip to content

Commit 67973e1

Browse files
authored
Update RAP5.md fixed issue with bound
1 parent 5009134 commit 67973e1

File tree

1 file changed

+2
-2
lines changed
  • courses/RascalAmendmentProposals/RAP5

1 file changed

+2
-2
lines changed

courses/RascalAmendmentProposals/RAP5/RAP5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ Noted that these changes have to be reflected in **vallang** as well as in **Ras
153153
4. The specific definitions of this algebra are still under embargo
154154
5. Midpoint range notation is like so: `midpoint ± radius`
155155
1. The midpoint represents *the most likely* *outcome* of a computation
156-
2. The radius represents an absolute radius around the midpoint. The actual value of the number may be any real number (rational or irrational) in `[midpoint - radius, midpoint + radius]` (inclusive bounds)
157-
3. All the arithmetic operators manage the radius’ automatically
156+
2. The radius represents an absolute radius around the midpoint. The actual value of the number may be any real number (rational or irrational) in `(midpoint - radius, midpoint + radius)` (exclusive bounds are important to avoid that < less-than becomes false due to an infinitesially small overlap between two real numbers that touch exactly at their upper and lowerbounds resp.)
157+
5. All the arithmetic operators manage the radius’ automatically
158158
1. Most code can be oblivious to the error ranges
159159
2. The midpoint calculation is always isomorphic to a calculation on rational numbers without the error radius (i.e. error oblivious)
160160
3. The radius’ are always a conservative over-approximation of the error

0 commit comments

Comments
 (0)