Microsoft/calculator

Incorrect result for exponational and logarithmic functions with exact results

Open

#574 geöffnet am 5. Juli 2019

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (16.196 Stars) (2.422 Forks)batch import
Area: User ExperienceBugPri: 3help wantedtriage approved

Beschreibung

Describe the bug The below example shows a case that shown answer (2) doesn't match the real answer log(e^2)/log(e)-2 != 0

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to Scientific mode
  2. enter log(e^2)/log(e^1)-2
  3. See error

Expected behavior log(e^2)/log(e^1)-2 should be 0 as base changing formula for logarithms: LaTex

Screenshots non-zero result

Device and Application Information

  • OS Build: 10.0.17134.0
  • Architecture: X64
  • Application Version: 10.1905.28.0
  • Region: zh-CN
  • Dev Version Installed: False

Additional context This is a new issue related with #309 and #222 Requested Assignment I'm just reporting this problem. I don't know how to fix it.

Contributor Guide