Talk:Kahan summation: Difference between revisions

Content added Content deleted
(→‎Task: R is FP.)
Line 52: Line 52:


::::Just found this R info: https://www.stat.auckland.ac.nz/~stat782/downloads/04-Numerics.pdf. according to that, R is floating point and the FP task section should be followed. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 18:56, 12 December 2014 (UTC)
::::Just found this R info: https://www.stat.auckland.ac.nz/~stat782/downloads/04-Numerics.pdf. according to that, R is floating point and the FP task section should be followed. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 18:56, 12 December 2014 (UTC)

==So far, in J and R==
We have decimal arithmetic not being output digits, and built-in equality fuzz. This, I think, is all useful info to know when comparing languages,
. The j example manages to follow the spirit of the task and leave a readable and informative entry. The R example could become just as good if it broke down the task in a similar way, but that would need more detailed knowledge of how the language treats numbers.

The task description could always be improved, I personally like the direction it is changed to, but I am starting to wonder if it will end in a morass of floating point fine-point'erry!

Any ideas for a save? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 06:48, 13 December 2014 (UTC)