Anonymous user
Kahan summation: Difference between revisions
m
+ comment
m (line break) |
m (+ comment) |
||
Line 195:
=={{header|EchoLisp}}==
No fixed point addition. EchoLisp floating point numbers are always stored as double precision floating point numbers, following the international IEEE 754 standard.
<lang scheme>
;; using floating point arithmetic
Line 235:
→ Kahan-add= 1
;;NB. The 17-nth decimal we gain using Kahan method will probably be lost in subsequent calculations.
;;Kahan algorithm will be useful for fixed-point decimal calculations, which EchoLisp does not have.▼
▲Kahan algorithm will be useful for fixed-point decimal calculations, which EchoLisp does not have.
</lang>
|