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

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

Description

@PaulZhu0122

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions