2021-04-27 18:33:31 +02:00
|
|
|
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
|
|
|
#include <math.h>
|
|
|
|
|
2022-04-15 11:00:55 +02:00
|
|
|
double atanh(double x)
|
2021-04-27 18:33:31 +02:00
|
|
|
{
|
2022-04-15 11:00:55 +02:00
|
|
|
return log((1 + x) / (1 - x)) / 2.0;
|
2021-04-27 18:33:31 +02:00
|
|
|
}
|