Talk:Kahan summation: Difference between revisions

→‎Task: example added
(→‎Task: it's a floating point thing)
(→‎Task: example added)
Line 36:
 
::I think the fixed-precision floating-point type most languages will support is IEEE 754 64-bit float. I suggest we provide task data crafted for this type. The Python example data works for floating point math that can be limited to 6 significant decimal places. It would be fine to retain this as alternative data for languages that can conveniently limit the significant decimal digits as Python can. If other languages come along that can do neither IEEE 754 64-bit floats nor 6-significant decimal digit floats but have some other limited precision floating point representation, we should allow them appropriate test data. —[[User:Sonia|Sonia]] ([[User talk:Sonia|talk]]) 20:29, 11 December 2014 (UTC)
 
::Example added. Bearophile's suggestion of adding more numbers turned out to be good. —[[User:Sonia|Sonia]] ([[User talk:Sonia|talk]]) 20:49, 11 December 2014 (UTC)
1,707

edits