Skip to content

Commit 7686d40

Browse files
committed
refactor: ensure order of operations is the same as in C
1 parent f5d218c commit 7686d40

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/asinf/lib

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function asinf( x ) {
118118
z = float64ToFloat32( ax * ax );
119119
flag = 0;
120120
}
121-
z = float64ToFloat32( float64ToFloat32( polyp( z ) * float64ToFloat32( z * ax ) ) + ax ); // eslint-disable-line max-len
121+
z = float64ToFloat32( float64ToFloat32( float64ToFloat32( polyp( z ) * z ) * ax ) + ax ); // eslint-disable-line max-len
122122

123123
if ( flag !== 0 ) {
124124
z = float64ToFloat32( z + z );

0 commit comments

Comments
 (0)