4 ms·
It's unclear what "reliable by default" is referring to. The deep learning community already uses Python and C++. Python computes the correct result here, sinc
by psyklic 4y ago
It's unclear what "reliable by default" is referring to. The deep learning community already uses Python and C++.
Python computes the correct result here, since it uses bigints by default. (The error is when formatting it for display, easily worked around by an extra line of code.)
In the C and Julia cases, it's well-known to use bigints when working with large numbers. For example:
julia> BigInt(2)^2^2^2^2
- xyproto 4y agoReturning the wrong result without a complaint.
- psyklic 4y agoI am wondering which languages have this "reliable by default" property. For example, even Mathematica stores floating-point numbers as double-precision. Mathematica (default settings): In := 0.2 - 0.10000001 Out = 0.1 Out of curiosity, why is this property specifically desirable for deep learning applications? A neural net typically uses floats, and I suspect it would be robust to very minor error.