feat: add math/base/special/atan2f#3338
Conversation
math/base/special/atan2fmath/base/special/atan2f
|
i see that this PR is failing a lot of tests. you should update your |
"dependencies": [
"@stdlib/math/base/napi/binary",
"@stdlib/math/base/assert/is-infinitef",
"@stdlib/math/base/special/copysignf",
"@stdlib/number/float32/base/signbit",
"@stdlib/math/base/assert/is-nanf",
"@stdlib/math/base/special/atanf",
"@stdlib/constants/float32/pinf",
"@stdlib/constants/float32/pi"
]this is how you should fill the dependencies in |
|
@aayush0325 thanks for the assist. |
|
use |
|
@Neerajpathak07 The issue here is that |
3a84f9e to
19271d9
Compare
|
@Planeshifter The PR related to |
aayush0325
left a comment
There was a problem hiding this comment.
basically you need to generate the fixtures using the julia script and not copy them over from the double precision implementation
|
The reason for the failing benchmarks is probably because you copied over the Makefile wrongly, use the one in |
|
Makefile that you should be using. This adds the include dirs so that you don't run into the error that we're currently facing here |
| z = Array{Float32}( undef, length(x) ); | ||
| for i in eachindex(x) | ||
| z[ i ] = atan.( y[i], x[i] ); |
There was a problem hiding this comment.
Julia doesn't have support for computing atan2f and atan2 so have kept it atan cuz that's the only one we have. But have generated it for float32
|
@aayush0325 Well the error still persists even after generating fixtures for julia. |
--- type: pre_push_report description: Results of running various checks prior to pushing changes. report: ---
|
@Planeshifter Only two test cases are failing in |
|
Completed via #7081 |
|
Thank you for working on this pull request. However, we cannot accept your contribution as the issue this pull request seeks to resolve has already been addressed in a different pull request or commit. Thank you again for your interest in stdlib, and we look forward to reviewing your future contributions. |
Progresses #649
Description
This pull request:
math/base/special/atan2f, which would be a single precision implementation for math/base/special/atan2.Related Issues
This pull request:
Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers