File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
lib/node_modules/@stdlib/math/base/special/bernoullif Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3838 "dependencies" : [
3939 " @stdlib/math/base/napi/unary" ,
4040 " @stdlib/math/base/assert/is_nonnegative_integer" ,
41- " @stdlib/math/base/assert/is_nanf " ,
41+ " @stdlib/math/base/assert/is_nan " ,
4242 " @stdlib/math/base/assert/is_odd" ,
4343 " @stdlib/constants/float32/ninf" ,
4444 " @stdlib/constants/float32/pinf"
5656 "libpath" : [],
5757 "dependencies" : [
5858 " @stdlib/math/base/assert/is_nonnegative_integer" ,
59- " @stdlib/math/base/assert/is_nanf " ,
59+ " @stdlib/math/base/assert/is_nan " ,
6060 " @stdlib/math/base/assert/is_odd" ,
6161 " @stdlib/constants/float32/ninf" ,
6262 " @stdlib/constants/float32/pinf"
7474 "libpath" : [],
7575 "dependencies" : [
7676 " @stdlib/math/base/assert/is_nonnegative_integer" ,
77- " @stdlib/math/base/assert/is_nanf " ,
77+ " @stdlib/math/base/assert/is_nan " ,
7878 " @stdlib/math/base/assert/is_odd" ,
7979 " @stdlib/constants/float32/ninf" ,
8080 " @stdlib/constants/float32/pinf"
Original file line number Diff line number Diff line change 1616* limitations under the License.
1717*/
1818
19+ #include "stdlib/math/base/special/bernoullif.h"
1920#include "stdlib/math/base/assert/is_nonnegative_integer.h"
20- #include "stdlib/math/base/assert/is_nanf .h"
21+ #include "stdlib/math/base/assert/is_nan .h"
2122#include "stdlib/math/base/assert/is_odd.h"
2223#include "stdlib/constants/float32/ninf.h"
2324#include "stdlib/constants/float32/pinf.h"
24- #include "stdlib/math/base/special/bernoullif.h"
2525
2626static const float bernoulli_value [ 32 ] = {
2727 1.00000000000000000000000000000000000000000 ,
@@ -72,7 +72,7 @@ static const int32_t MAX_BERNOULLI = 62;
7272* // returns 1
7373*/
7474float stdlib_base_bernoullif ( const int32_t n ) {
75- if ( stdlib_base_is_nanf ( n ) || !stdlib_base_is_nonnegative_integer ( n ) ) {
75+ if ( stdlib_base_is_nan ( n ) || !stdlib_base_is_nonnegative_integer ( n ) ) {
7676 return 0.0 / 0.0 ; // NaN
7777 }
7878 if ( stdlib_base_is_odd ( n ) ) {
You can’t perform that action at this time.
0 commit comments