Skip to content

Error computing expressions with logarithms entered with button without brackets #290

@calderov

Description

@calderov

What Happened?

Computing ln(5) / ln(2) returns an incorrect result.

The same happens for log(5)/log(2) although log(5) and log(2) are correct in isolation.

Image

Steps to Reproduce

  1. Open Calculator
  2. Compute ln(5)/ln(2)
  3. You will get 1.975950833 as a result, this is wrong as the correct result is 2.321928094.

Expected Behavior

The expression ln(5)/ln(2) should return the correct result.

OS Version

8.x (Circe)

OS Architecture

amd64 (on most hardwares)

Session Type

Secure Session (Wayland)

Software Version

Latest release (I have run all updates)

Log Output

Hardware Info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions