Skip to content

Commit 863ee58

Browse files
committed
style: fixed some mild space inconsistencies
--- 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 825545e commit 863ee58

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function gammaf( x ) {
101101

102102
x = f32( x );
103103

104-
if ( ( isIntegerf( x ) && x < 0 )|| isnanf( x ) || x === NINF ) {
104+
if ( ( isIntegerf( x ) && x < 0 ) || isnanf( x ) || x === NINF ) {
105105
return NaN;
106106
}
107107

@@ -147,7 +147,7 @@ function gammaf( x ) {
147147
x = f32( q );
148148
}
149149
if ( x >= TEN ) {
150-
z = stirlingApprox(x);
150+
z = stirlingApprox( x );
151151
}
152152
if ( x < TWO ) {
153153
direction = 1;
@@ -176,7 +176,7 @@ function gammaf( x ) {
176176
p = smallApprox( x, z );
177177
} else {
178178
if ( direction ) {
179-
z = f32( ONE/z );
179+
z = f32( ONE / z );
180180
}
181181
if ( x === TWO ) {
182182
p = z;

0 commit comments

Comments
 (0)