Skip to content

Commit 60d2464

Browse files
committed
chore: code review
--- 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_pkg_readmes status: na - task: lint_markdown_docs status: na - 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: passed - 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 cd023d3 commit 60d2464

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

  • lib/node_modules/@stdlib/math/base/special/log10f

‎lib/node_modules/@stdlib/math/base/special/log10f/lib/main.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ function log10f( x ) {
126126
hx = toWordf( x ) |0; // asm type annotation
127127
k = 0;
128128

129-
// x < 2^-126
130-
if ( hx < MIN_NORMAL_WORD ) {
129+
if ( hx < MIN_NORMAL_WORD ) { // x < 2^-126
131130
if ( ( hx & ABS_MASK ) === 0 ) {
132131
return NINF;
133132
}

‎lib/node_modules/@stdlib/math/base/special/log10f/src/main.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ float stdlib_base_log10f( const float x ) {
100100
ihx = (int32_t)hx;
101101
k = 0;
102102

103-
// x < 2^-126
104-
if ( ihx < MIN_NORMAL_WORD ) {
103+
if ( ihx < MIN_NORMAL_WORD ) { // x < 2^-126
105104
if ( ( ihx & STDLIB_CONSTANT_FLOAT32_ABS_MASK ) == 0 ) {
106105
return STDLIB_CONSTANT_FLOAT32_NINF;
107106
}

0 commit comments

Comments
 (0)