Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

The value of tan((2k+1)π/2)is not correct #96

Open
PaulZhu0122 opened this issue May 21, 2021 · 1 comment
Open

The value of tan((2k+1)π/2)is not correct #96

PaulZhu0122 opened this issue May 21, 2021 · 1 comment

Comments

@PaulZhu0122
Copy link

Describe the bug

In the scientific calculator module, after choosing tan fuction and entering tan((2k+1)π/2)where k is positive integer, the calculator just displays incorrect result.

Expected behavior

After entering tan((2k+1)π/2, infinity or it doesn't exist is expected to be displayed

To reproduce

  1. Open NCalc+ (Which is build from latest source code)
  2. Go to scientific calculator module
  3. Choose tan function
  4. Enter tan((2k+1)π/2)
  5. Incorrect result has been displayed

Configuration

  • Android version 9
  • device MI 8 Lite

Screenshots

image
image

JasonAchillious added a commit to JasonAchillious/ncalc that referenced this issue May 22, 2021
Fix issue tranleduy2000#96: The value of tan((2k+1)π/2)is not correct
@axkr
Copy link
Collaborator

axkr commented May 22, 2021

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants