projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
secure_getenv: fix include typo
[gnulib.git]
/
lib
/
asinl.c
diff --git
a/lib/asinl.c
b/lib/asinl.c
index
cda04c8
..
c7ba71d
100644
(file)
--- a/
lib/asinl.c
+++ b/
lib/asinl.c
@@
-14,6
+14,18
@@
/* Specification. */
#include <math.h>
/* Specification. */
#include <math.h>
+#if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
+
+long double
+asinl (long double x)
+{
+ return asin (x);
+}
+
+#else
+
+/* Code based on glibc/sysdeps/ieee754/ldbl-128/e_asinl.c. */
+
/*
Long double expansions contributed by
Stephen L. Moshier <moshier@na-net.ornl.gov>
/*
Long double expansions contributed by
Stephen L. Moshier <moshier@na-net.ornl.gov>
@@
-188,6
+200,8
@@
asinl (long double x)
return t * sign;
}
return t * sign;
}
+#endif
+
#if 0
int
main (void)
#if 0
int
main (void)