Public bug reported: "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. ** Affects: gnome-calculator (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-calculator in Ubuntu. https://bugs.launchpad.net/bugs/1764724 Title: logn(x) parsed as log(n)(x) Status in gnome-calculator package in Ubuntu: New 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-calculator/+bug/1764724/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp