summaryrefslogtreecommitdiff
path: root/doc/sum.txt
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-11-08 01:04:49 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-11-08 01:04:49 +0000
commitfdeebd3eb6bc1445d565750e89bbf5b02f3ac180 (patch)
tree370e5be5ca8aefe0b6510a0565306a22b530e4ef /doc/sum.txt
parente72d8cc72040a3a258661ad53290847a200f5be7 (diff)
downloadmpfr-fdeebd3eb6bc1445d565750e89bbf5b02f3ac180.tar.gz
[doc/sum.txt] Improved an example (from my ARITH-23 slides).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10943 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'doc/sum.txt')
-rw-r--r--doc/sum.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/sum.txt b/doc/sum.txt
index 06d68f917..e4874ebd1 100644
--- a/doc/sum.txt
+++ b/doc/sum.txt
@@ -594,10 +594,11 @@ and a shift of 26 bits (due to cancellation), here is the accumulator
before and after the shift:
Before shift: [--------]-----------------------------------]
- └─ maxexp minexp ─┘
-
+ cq ├─ maxexp sq + dq minexp ─┤
+ 00000000000000000000000000001----------------]
+ <--- identical bits (0) --->
<------- 26 zeros ------->
- After shift: [-------------------00000000000000000000000000
+ After shift: 001-----------------00000000000000000000000000
This iteration: minexp ─┘ ├─ maxexp2 │
Next iteration: └─ maxexp minexp ─┘