Skip to content

Commit e571f69

Browse files
committed
chore: replace +Infinity with Infinity
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 270a4d6 commit e571f69

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

lib/node_modules/@stdlib/math/base/special/secd/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ var secd = require( '@stdlib/math/base/special/secd' );
3535
Computes the [secant][secant] of `x` (in degrees).
3636

3737
```javascript
38-
var v = secd( 30 );
38+
var v = secd( 30.0 );
3939
// returns ~1.15
4040

41-
v = secd( 45 );
41+
v = secd( 45.0 );
4242
// returns ~1.41
4343

44-
v = secd( 60 );
44+
v = secd( 60.0 );
4545
// returns ~2.0
4646

47-
v = secd( 90 );
48-
// returns 16331239353195370
47+
v = secd( 90.0 );
48+
// returns Infinity
4949

50-
v = secd( 0 );
50+
v = secd( 0.0 );
5151
// returns 1.0
5252

5353
v = secd( NaN );

lib/node_modules/@stdlib/math/base/special/secd/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*
3939
* @example
4040
* var v = secd( 90.0 );
41-
* // returns +Infinity
41+
* // returns Infinity
4242
*
4343
* @example
4444
* var v = secd( 0.0 );

lib/node_modules/@stdlib/math/base/special/secd/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* // returns ~2.0
3737
*
3838
* v = secd( 90.0 );
39-
* // returns +Infinity
39+
* // returns Infinity
4040
*
4141
* v = secd( 0.0 );
4242
* // returns 1.0

lib/node_modules/@stdlib/math/base/special/secd/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var cosd = require( '@stdlib/math/base/special/cosd' );
4545
*
4646
* @example
4747
* var v = secd( 90.0 );
48-
* // returns +Infinity
48+
* // returns Infinity
4949
*
5050
* @example
5151
* var v = secd( 0.0 );

lib/node_modules/@stdlib/math/base/special/secd/lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var addon = require( './../src/addon.node' );
4646
*
4747
* @example
4848
* var v = secd( 90.0 );
49-
* // returns +Infinity
49+
* // returns Infinity
5050
*
5151
* @example
5252
* var v = secd( 0.0 );

0 commit comments

Comments
 (0)