Skip to content

Commit ef91fd6

Browse files
authored
refactor: remove unnecessary wrapping
`v` is already float32 per L86. Signed-off-by: Athan <[email protected]>
1 parent 78eb348 commit ef91fd6

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/math/base/special/powf/lib/logxf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function logxf( out, ax ) {
8787
t1 = f32( u + v );
8888
tmp = toWordf( t1 ) | 0; // asm type annotation
8989
t1 = fromWordf( tmp & TRUNC_MASK );
90-
t2 = f32( f32( v ) - f32( t1 - u ) );
90+
t2 = f32( v - f32( t1 - u ) );
9191

9292
out[ 0 ] = t1;
9393
out[ 1 ] = t2;

0 commit comments

Comments
 (0)