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 Ubuntu
Desktop Bugs, which is subscribed to gnome-calculator in Ubuntu.
https://bugs.launchpad.net/bugs/1764724

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-calculator/+bug/1764724/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to