-
-
Notifications
You must be signed in to change notification settings - Fork 813
feat: add C implementation for math/base/special/asec
#1720
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
Conversation
math/base/special/asec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requested changes, once addressed this can be ready.
@@ -2,7 +2,7 @@ | |||
|
|||
@license Apache-2.0 | |||
|
|||
Copyright (c) 2022 The Stdlib Authors. | |||
Copyright (c) 2024 The Stdlib Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright (c) 2024 The Stdlib Authors. | |
Copyright (c) 2022 The Stdlib Authors. |
/** | ||
* @license Apache-2.0 | ||
* | ||
* Copyright (c) 2022 The Stdlib Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Copyright (c) 2022 The Stdlib Authors. | |
* Copyright (c) 2024 The Stdlib Authors. |
lib/node_modules/@stdlib/math/base/special/asec/benchmark/benchmark.native.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/math/base/special/asec/benchmark/c/Makefile
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/math/base/special/asec/benchmark/c/benchmark.c
Outdated
Show resolved
Hide resolved
t.end(); | ||
}); | ||
|
||
tape( 'the function computes the inverse (arc) secant on the interval `[1e300,1e308]`', function test( t ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tape( 'the function computes the inverse (arc) secant on the interval `[1e300,1e308]`', function test( t ) { | |
tape( 'the function computes the inverse (arc) secant on the interval `[1e300,1e308]`', opts, function test( t ) { |
t.end(); | ||
}); | ||
|
||
tape( 'the function returns `NaN` if provided `NaN`', function test( t ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tape( 'the function returns `NaN` if provided `NaN`', function test( t ) { | |
tape( 'the function returns `NaN` if provided `NaN`', opts, function test( t ) { |
t.end(); | ||
}); | ||
|
||
tape( 'the function returns `NaN` if provided `+0`', function test( t ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tape( 'the function returns `NaN` if provided `+0`', function test( t ) { | |
tape( 'the function returns `NaN` if provided `+0`', opts, function test( t ) { |
t.end(); | ||
}); | ||
|
||
tape( 'the function returns `NaN` if provided `-0`', function test( t ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tape( 'the function returns `NaN` if provided `-0`', function test( t ) { | |
tape( 'the function returns `NaN` if provided `-0`', opts, function test( t ) { |
t.end(); | ||
}); | ||
|
||
tape( 'the function returns `NaN` on the interval `(-1, 1)`', function test( t ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tape( 'the function returns `NaN` on the interval `(-1, 1)`', function test( t ) { | |
tape( 'the function returns `NaN` on the interval `(-1, 1)`', opts, function test( t ) { |
@Pranavchiku I have addressed all the issues you mentioned in your review. Please take a look at the changes |
@Pranavchiku I have addressed all the issues you mentioned in your review.please check. |
Co-authored-by: Pranav <85227306+Pranavchiku@users.noreply.github.com> Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good; let's get this in! Thank you!
Resolves #861 .
Description
This pull request:Add C implementation for @stdlib/math/base/special/asec
Related Issues
This pull request:
@stdlib/math/base/special/asec
#861Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers