Microsoft/calculator

Incorrect result for exponational and logarithmic functions with exact results

Open

#574 ouverte le 5 juil. 2019

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)C++ (2 422 forks)batch import
Area: User ExperienceBugPri: 3help wantedtriage approved

Métriques du dépôt

Stars
 (16 196 stars)
Métriques de merge PR
 (Merge moyen 15h 43m) (7 PRs mergées en 30 j)

Description

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.

Guide contributeur