logn(x) parsed as log(n)(x)

Bug #1764724 reported by Max Marrone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-calculator (Ubuntu)
Triaged
High
Unassigned

Bug Description

"logn" is common notation for log base n, e.g. log2(x) is log base 2 of x.

gnome-calculator appears to always parse this notation as log(n)(x). So, log10(2) is log(10)(2) = 2, rather than log10(2) ~= 0.301.

Arbitrary bases are already supported if the base is input as a subscript. But, typing the base without subscript is common enough that it should be accounted for. gnome-calculator should at least show an error like "function 'log10' is not defined," to avoid silently reporting incorrect results.

Ubuntu 17.10, gnome-calculator 3.25.92.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Indeed, that's still an issue in the current version and seems an upstream one. Could you maybe report it to them as well on https://gitlab.gnome.org/GNOME/gnome-calculator/issues ?

Changed in gnome-calculator (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Max Marrone (maxpm) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks!

Changed in gnome-calculator (Ubuntu):
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.