We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 216b78f commit 1ee9932Copy full SHA for 1ee9932
lib/node_modules/@stdlib/math/base/special/gammasgnf/lib/main.js
@@ -53,17 +53,17 @@ function gammasgnf( x ) {
53
return NaN;
54
}
55
if ( x > 0.0 ) {
56
- return float64ToFloat32( 1.0 );
+ return 1.0;
57
58
fx = floorf( x );
59
if ( x === fx ) {
60
- return float64ToFloat32( 0.0 );
+ return 0.0;
61
62
- fx = float64ToFloat32( fx / float64ToFloat32( 2.0 ) );
+ fx = float64ToFloat32( fx / 2.0 );
63
if ( fx === floorf( fx ) ) {
64
65
66
- return float64ToFloat32( -1.0 );
+ return -1.0;
67
68
69
0 commit comments