Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Adding math functions] Support Erf, Erfc, Erfcinv and Erfinv math functions #217

Merged
merged 6 commits into from
May 28, 2024

Conversation

pratikmota
Copy link
Contributor

@pratikmota pratikmota commented May 26, 2024

Changes:

  1. Adding Erf, Erfc, Erfcinv and Erfinv math functions
  2. Adding test cases of all Erf* math functions

Testing:
Test in Rye:
image
image

Testcases check:
image
image

Doubts:
Do we need to add restriction for +Inf, -Inf and NaN values in our custom functions? In Rye command line it is giving proper value so i have removed it. but in Testcases it is giving me like below. Is it the correct thing?

TYPES
  - Error: expected NaN, got NaN

But our test cases is not failed (FAILED: 0). It Passed if i compare with "NaN".

  • Code is working fine, So we can merge this PR.

@pratikmota pratikmota changed the title [Adding math functions] part-6 math functions [Adding math functions] support 4 Erf type functions May 26, 2024
@pratikmota pratikmota changed the title [Adding math functions] support 4 Erf type functions [Adding math functions] support Erf, Erfc, Erfcinv and Erfinv math functions May 26, 2024
@pratikmota pratikmota changed the title [Adding math functions] support Erf, Erfc, Erfcinv and Erfinv math functions [Adding math functions] Support Erf, Erfc, Erfcinv and Erfinv math functions May 26, 2024
@pratikmota pratikmota marked this pull request as ready for review May 26, 2024 11:22
@refaktor refaktor merged commit 55354ec into refaktor:main May 28, 2024
7 checks passed
@refaktor
Copy link
Owner

Nice, thank you Pratik. I'll look at the inf and NaN ... thanks for the heads up.

@pratikmota pratikmota deleted the mathfunc-part-6 branch June 2, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants