diff --git a/spec.html b/spec.html index 9e5ec75..2257749 100644 --- a/spec.html +++ b/spec.html @@ -58,6 +58,6 @@

Math.sumExact ( _items_ )

1. If _state_ is ~minus-infinity~, return *-∞*𝔽. 1. If _state_ is ~minus-zero~, return *-0*𝔽. 1. Return 𝔽(_sum_). - 1. NOTE: The value of _sum_ can be computed without arbitrary-precision arithmetic by a variety of algorithms. One such is the "Grow-Expansion" algorithm given in Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric Predicates by Jonathan Richard Shewchuk. A more recent algorithm is given in "Fast exact summation using small and large superaccumulators", code for which is available here. + 1. NOTE: The value of _sum_ can be computed without arbitrary-precision arithmetic by a variety of algorithms. One such is the "Grow-Expansion" algorithm given in Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric Predicates by Jonathan Richard Shewchuk. A more recent algorithm is given in "Fast exact summation using small and large superaccumulators", code for which is available at https://gitlab.com/radfordneal/xsum.