author | Szabolcs Nagy <nsz@port70.net> | 2015年03月10日 20:01:20 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015年03月11日 18:54:53 -0400 |
commit | f4e4632abfa8297db1485e132bb15b9ef6c32a1b (patch) | |
tree | 5e7f8685339372ad2eefa685cfa8e9c967300562 /src/math/coshl.c | |
parent | 53cfe0c61a136c12376a8f32d616de1d68227181 (diff) | |
download | musl-f4e4632abfa8297db1485e132bb15b9ef6c32a1b.tar.gz |
-rw-r--r-- | src/math/coshl.c | 6 |
diff --git a/src/math/coshl.c b/src/math/coshl.c index 080e5eb0..06a56fe3 100644 --- a/src/math/coshl.c +++ b/src/math/coshl.c @@ -38,4 +38,10 @@ long double coshl(long double x) t = expl(0.5*x); return 0.5*t*t; } +#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384 +// TODO: broken implementation to make things compile +long double coshl(long double x) +{ + return cosh(x); +} #endif |