File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/node_modules/@stdlib/math/base/special/atanh/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ static const int32_t HIGH_BIASED_EXP_NEG_1 = 0x3fe00000;
9696*/
9797double stdlib_base_atanh ( const double x ) {
9898 uint32_t lx ;
99- int32_t hx ;
100- int32_t ahx ;
99+ unt32_t hx ;
100+ unt32_t ahx ;
101101 double t ;
102102 if ( stdlib_base_is_nan ( x ) || x < -1.0 || x > 1.0 ) {
103103 return 0.0 / 0.0 ; // NaN
@@ -116,7 +116,7 @@ double stdlib_base_atanh( const double x ) {
116116 if ( ahx < HIGH_BIASED_EXP_NEG_7 && ( huge + x ) > zero ) {
117117 return x ; // x<2**-28
118118 }
119- stdlib_base_float64_set_high_word ( x , & ahx );
119+ stdlib_base_float64_set_high_word ( ahx , & x );
120120 if ( ahx < HIGH_BIASED_EXP_NEG_1 ) {
121121 t = x + x ;
122122 t = 0.5 * stdlib_base_log1p ( t + ( t * x / ( one - x ) ) );
You can’t perform that action at this time.
0 commit comments