chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1798653
)
wip bigfloat
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 4 Oct 2020 00:18:44 +0000
(
01:18
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 4 Oct 2020 00:18:44 +0000
(
01:18
+0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
templates/bigfloat.ts
patch
|
blob
|
history
diff --git
a/templates/bigfloat.ts
b/templates/bigfloat.ts
index d7a07220c9186877fa566d11103b8c2ee2babb68..4c8b5dea6e8d605449f660b38f7b74fe9d547952 100644
(file)
--- a/
templates/bigfloat.ts
+++ b/
templates/bigfloat.ts
@@
-64,7
+64,7
@@
class Bigfloat {
// to produce values > this, < endv
let e_out = Math.max(this.exponent, endv.exponent);
for (let e = e_out;
-
e
;
+ ;
e--) {
let it = e - this.exponent;
let ie = e - endv.exponent;