Skip to content

Commit 43cbf2d

Browse files
committed
fix: update constant name
--- 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: na - 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 3c5ee39 commit 43cbf2d

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/lnf/src

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,14 @@ float stdlib_base_lnf( const float x ) {
139139
return ( xc + xc );
140140
}
141141
k += ( ( ix >> 23 ) - STDLIB_CONSTANT_FLOAT32_EXPONENT_BIAS );
142-
ix &= STDLIB_CONSTANT_FLOAT_SIGNIFICAND_MASK;
142+
ix &= STDLIB_CONSTANT_FLOAT32_SIGNIFICAND_MASK;
143143
i = ( ix + ( 0x95f64 << 3 ) ) & 0x800000;
144144
// normalize x or x/2
145145
stdlib_base_float32_from_word( (uint32_t)( ix | ( i ^ 0x3f800000 ) ), &xc );
146146
k += ( i >> 23 );
147147
f = ( xc - 1.0f );
148148
// -2**-9 <= f < 2**-9
149-
if ( ( STDLIB_CONSTANT_FLOAT_SIGNIFICAND_MASK & ( 0x8000 + ix ) ) < 0xc000 ) {
149+
if ( ( STDLIB_CONSTANT_FLOAT32_SIGNIFICAND_MASK & ( 0x8000 + ix ) ) < 0xc000 ) {
150150
if ( f == 0.0f ) {
151151
if ( k == 0 ) {
152152
return 0.0f;

0 commit comments

Comments
 (0)