mate-desktop / mate-calc

Calculator for MATE
http://www.mate-desktop.org
GNU General Public License v2.0
40 stars 33 forks source link

Error with log() #220

Closed Jean-PierreBONNEMAISON closed 11 months ago

Jean-PierreBONNEMAISON commented 1 year ago

Expected behaviour

Computing log(115/70) should work. It does work with 113, 114, 116, 117, etc.

Actual behaviour

ERROR OCCURED IN MP_LNS, NEWTON ITERATION NOT CONVERGING PROPERLY

Steps to reproduce the behaviour

log(115/70)

MATE general version

Package version

1.24.0

Linux Distribution

Xubuntu 20.04

Link to bugreport of your Distribution (requirement)

cwendling commented 1 year ago

I don't have 1.24 at hand, but this seems to work fine for me both with 1.20 (Debian buster) and 1.26 (Debian testing). Gives 0,2155998, which seems reasonable for log10.

zhuyaliang commented 1 year ago

Please review b0117b1d

cwendling commented 1 year ago

@zhuyaliang this doesn't explain why it works for me with 1.20 as well though, does it?

zhuyaliang commented 1 year ago

@cwendling After searching for the code, it was found that a code commit 1957af0e after 1.22 caused this issue

mbkma commented 11 months ago

This version is not supported anymore.