3 ms·
> For example, it seems to understand how to find a sum, mean, median, and mode. > Input: 1, 4, 5, 6, 2, 1, 1 > Output: 2.28571428571 Well, even with those sm
by ivegotnoaccount 5y ago
> For example, it seems to understand how to find a sum, mean, median, and mode.
> Input: 1, 4, 5, 6, 2, 1, 1
> Output: 2.28571428571
Well, even with those small numbers, it's wrong. The first "2" after the dot should not be there. The result it gives is 16/7, not 20/7.
- loganmhb 5y agoI wonder how much of this is an illusion of precision that comes from pattern matching on content from filler sites like https://www.free-hosting.biz/division/16-divided-7.html https://www.free-hosting.biz/division/16-divided-7.html (I do not recommend clicking the link, but the result appears there).
- ivegotnoaccount 5y agoI was thinking the same thing, especially as we are talking about division, and the result is "correct" for 16/7 to a great number of digits. See also the "x = x + x three times", for which the result is not random but the result for the same thing... Two times instead of three (so result/2). That heavily smells like it has read sites that had nearly the same code on them.