Skip to content

Commit c104dda

Browse files
chore: use explicit type casting
Co-authored-by: Philipp Burckhardt <[email protected]> Signed-off-by: Karan Anand <[email protected]>
1 parent c462391 commit c104dda

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/kernel-tanf/src

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/math/base/special/kernel-tanf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ float stdlib_base_kernel_tanf( const double x, const int32_t iy ) {
7979
u = T[ 0 ] + ( z * T[ 1 ] );
8080
r = ( x + ( s*u ) ) + ( ( s*w ) * ( t + ( w*r ) ) );
8181
if ( iy == 1 ) {
82-
return r;
82+
return (float)r;
8383
}
8484
return ( -1.0f / (float)r );
8585
}

0 commit comments

Comments
 (0)