{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:39:39Z","timestamp":1787337579845,"version":"build-2736575974"},"reference-count":12,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"5","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2000,1]]},"abstract":"<jats:p>\n                    Given a multiset X={x\n                    <jats:sub>1<\/jats:sub>\n                    ,. . .,x\n                    <jats:sub>n<\/jats:sub>\n                    } of real numbers, the floating-point set summation problem asks for S\n                    <jats:sub>n<\/jats:sub>\n                    =x\n                    <jats:sub>1<\/jats:sub>\n                    + . . . + x\n                    <jats:sub>n<\/jats:sub>\n                    . Let $E^*_n$ denote the minimum worst-case error over all possible orderings of evaluating S\n                    <jats:sub>n<\/jats:sub>\n                    . We prove that if X has both positive and negative numbers, it is NP-hard to compute S\n                    <jats:sub>n<\/jats:sub>\n                    with the worst-case error equal to $E^*_n$. We then give the first known polynomial-time approximation algorithm that has a provably small error for arbitrary X. Our algorithm incurs a worst-case error at most $2(\\lceil\\log(n-1)\\rceil+1)E^*_n$. (All logarithms log in this paper are base 2.) After X is sorted, it runs in O(n) time. For the case where X is either all positive or all negative, we give another approximation algorithm with a worst-case error at most $\\lceil\\log\\log n\\rceil E^*_n$. Even for unsorted X, this algorithm runs in O(n) time. Previously, the best linear-time approximation algorithm had a worst-case error at most $\\lceil\\log n\\rceil E^*_n$, while $E^*_n$ was known to be attainable in O(n log n) time using Huffman coding.\n                  <\/jats:p>","DOI":"10.1137\/s0097539798341594","type":"journal-article","created":{"date-parts":[[2003,6,11]],"date-time":"2003-06-11T11:12:06Z","timestamp":1055329926000},"page":"1568-1576","source":"Crossref","is-referenced-by-count":3,"title":["Linear-Time Approximation Algorithms for Computing Numerical Summation with Provably Small Errors"],"prefix":"10.1137","volume":"29","author":[{"given":"Ming-Yang","family":"Kao","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jie","family":"Wang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2006,7,27]]},"reference":[{"key":"R1","volume-title":"Introduction to algorithms","author":"Manber Udi","year":"1989"},{"key":"R2","doi-asserted-by":"publisher","DOI":"10.1137\/0905062"},{"key":"R3","volume-title":"Computers and intractability","author":"Garey Michael","year":"1979"},{"key":"R4","doi-asserted-by":"publisher","DOI":"10.1145\/103162.103163"},{"key":"R5","doi-asserted-by":"publisher","DOI":"10.1137\/0914050"},{"key":"R6","volume-title":"Accuracy and stability of numerical algorithms","author":"Higham Nicholas","year":"1996"},{"key":"R7","volume-title":"The art of computer programming. Vol. 2: Seminumerical algorithms","author":"Knuth Donald","year":"1969"},{"key":"R8","doi-asserted-by":"publisher","DOI":"10.1137\/1028001"},{"key":"R9","unstructured":"J. V. Leeuwen,\n                      On the construction of Huffman trees\n                      , in Proceedings of the 3rd International Colloquium on Automata, Languages, and Programming, University of Edinburgh, Scotland, Edinburgh University Press, Edinburgh, Scotland, 1976, pp. 382\u2013410."},{"key":"R10","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(95)00253-7"},{"key":"R11","doi-asserted-by":"publisher","DOI":"10.1145\/42288.42343"},{"key":"R12","doi-asserted-by":"publisher","DOI":"10.1137\/0801010"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/S0097539798341594","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:18:40Z","timestamp":1787336320000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/S0097539798341594"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2000,1]]},"references-count":12,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2000,1]]}},"alternative-id":["10.1137\/S0097539798341594"],"URL":"https:\/\/doi.org\/10.1137\/s0097539798341594","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2000,1]]}}}