Skip to content

Commit a6d226a

Browse files
chore: updating high var dtype
1 parent 6a656e0 commit a6d226a

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/math/base/special/atanh/src

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/math/base/special/atanh/src/main.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ static const int32_t HIGH_BIASED_EXP_NEG_1 = 0x3fe00000;
9696
*/
9797
double 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 ) ) );

0 commit comments

Comments
 (0)