Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #106958

sum accuracy

From Robin Becker <robin@reportlab.com>
Newsgroups comp.lang.python
Subject sum accuracy
Date 2016-04-13 17:51 +0100
Message-ID <mailman.83.1460566278.15650.python-list@python.org> (permalink)
References <570E78F9.8050409@chamonix.reportlab.co.uk>

Show all headers | View raw


Does anyone know if sum does anything special to try and improve accuracy? My 
simple tests seem to show it is exactly equivalent to a for loop summation.
-- 
Robin Becker

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

sum accuracy Robin Becker <robin@reportlab.com> - 2016-04-13 17:51 +0100
  Re: sum accuracy Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-04-13 19:57 +0300

csiph-web