Skip to content

tan(-0.0) produces incorrect result #1897

@andygrove

Description

@andygrove

Describe the bug

While working on #1896 I discovered that tan(-0.0) produces an incorrect result.

3.141592653589793 was not less than 1.0E-6 actual answer -3.141592653589793 not within 1.0E-6 of correct answer 0.0

Steps to reproduce

Uncomment the -0.0 in the test data in #1896 and run the tests

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions