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;
96
96
*/
97
97
double stdlib_base_atanh ( const double x ) {
98
98
uint32_t lx ;
99
- int32_t hx ;
100
- int32_t ahx ;
99
+ unt32_t hx ;
100
+ unt32_t ahx ;
101
101
double t ;
102
102
if ( stdlib_base_is_nan ( x ) || x < -1.0 || x > 1.0 ) {
103
103
return 0.0 / 0.0 ; // NaN
@@ -116,7 +116,7 @@ double stdlib_base_atanh( const double x ) {
116
116
if ( ahx < HIGH_BIASED_EXP_NEG_7 && ( huge + x ) > zero ) {
117
117
return x ; // x<2**-28
118
118
}
119
- stdlib_base_float64_set_high_word ( x , & ahx );
119
+ stdlib_base_float64_set_high_word ( ahx , & x );
120
120
if ( ahx < HIGH_BIASED_EXP_NEG_1 ) {
121
121
t = x + x ;
122
122
t = 0.5 * stdlib_base_log1p ( t + ( t * x / ( one - x ) ) );
You can’t perform that action at this time.
0 commit comments