Microsoft/calculator

Incorrect result for exponational and logarithmic functions with exact results

Open

#574 建立於 2019年7月5日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)C++ (16,196 star) (2,422 fork)batch import
Area: User ExperienceBugPri: 3help wantedtriage approved

描述

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.

貢獻者指南