From b89b2d47fa18d2f96628572fd0a92c2d6f5a9045 Mon Sep 17 00:00:00 2001 From: Taaha_Tariq Date: Thu, 3 Apr 2025 13:41:12 -0400 Subject: [PATCH] fixup! js linting issue --- 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: na - 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/math/base/special/pow/lib/y_is_infinite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/pow/lib/y_is_infinite.js b/lib/node_modules/@stdlib/math/base/special/pow/lib/y_is_infinite.js index 4b78db64c76b..fd80267c6188 100644 --- a/lib/node_modules/@stdlib/math/base/special/pow/lib/y_is_infinite.js +++ b/lib/node_modules/@stdlib/math/base/special/pow/lib/y_is_infinite.js @@ -68,7 +68,7 @@ var PINF = require( '@stdlib/constants/float64/pinf' ); */ function pow( x, y ) { if ( x === -1.0 ) { - // Julia (0.4.2) and Python (2.7.9) return `1.0` (WTF???). JavaScript (`Math.pow`), R, and libm return `NaN`. We choose `NaN`, as the value is indeterminate; i.e., we cannot determine whether `y` is odd, even, or somewhere in between. + // Julia (0.4.2) and Python (2.7.9) return `1.0` (WTF???). JavaScript (`Math.pow`), R, and LIBM return `NaN`. We choose `NaN`, as the value is indeterminate; i.e., we cannot determine whether `y` is odd, even, or somewhere in between. return (x-x)/(x-x); // signal NaN } if ( x === 1.0 ) {