Anonymous user
Gradient descent: Difference between revisions
m
→{{header|Phix}}: added a comment involving an exception.
m (→{{header|Phix}}: now same as REXX as well) |
m (→{{header|Phix}}: added a comment involving an exception.) |
||
Line 515:
{{out}}
Results now match (at least) Algol 68/W, Fortran, Go, Julia, Raku, REXX, and Wren [at least to 6dp or more].<br>
Note that specifying a tolerance < 1e-7 causes an infinite loop. <small>(except for REXX which will tolerate a much smaller tolerance.</small>)<br>
Results on 32/64 bit Phix agree to 13dp, which I therefore choose to show in full here (but otherwise would not really trust).
<pre>
|