aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2009-05-07 06:55:15 +0000
committerMatthias Klose <doko@gcc.gnu.org>2009-05-07 06:55:15 +0000
commit76104d42a4df656921eb24de9bec78e4190ee717 (patch)
treed8b7b7231cb89bf84e7d54bf430495a5ee3fefa0
parent0b70eafda5634fab60597ef104e258dff3aa2404 (diff)
downloadgcc-76104d42a4df656921eb24de9bec78e4190ee717.zip
gcc-76104d42a4df656921eb24de9bec78e4190ee717.tar.gz
gcc-76104d42a4df656921eb24de9bec78e4190ee717.tar.bz2
re PR libstdc++/40038 (symbols ceill@GLIBCXX_3.4.3 not exported)
2009-05-07 Matthias Klose <doko@ubuntu.com> PR libstdc++/40038 * src/math_stubs_long_double.cc: Add ceill. From-SVN: r147217
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/src/math_stubs_long_double.cc8
2 files changed, 13 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 5b6e4e2..104762d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-07 Matthias Klose <doko@ubuntu.com>
+
+ PR libstdc++/40038
+ * src/math_stubs_long_double.cc: Add ceill.
+
2009-05-06 Johannes Singler <singler@ira.uka.de>
PR libstdc++/39546
diff --git a/libstdc++-v3/src/math_stubs_long_double.cc b/libstdc++-v3/src/math_stubs_long_double.cc
index 1b59034..9f760cf 100644
--- a/libstdc++-v3/src/math_stubs_long_double.cc
+++ b/libstdc++-v3/src/math_stubs_long_double.cc
@@ -70,6 +70,14 @@ extern "C"
}
#endif
+#ifndef _GLIBCXX_HAVE_CEILL
+ long double
+ ceill(long double x)
+ {
+ return ceil((double) x);
+ }
+#endif
+
#ifndef _GLIBCXX_HAVE_COSL
long double
cosl(long double x)