re PR libstdc++/40038 (symbols ceill@GLIBCXX_3.4.3 not exported)
authorMatthias Klose <doko@ubuntu.com>
Thu, 7 May 2009 06:55:15 +0000 (06:55 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Thu, 7 May 2009 06:55:15 +0000 (06:55 +0000)
2009-05-07  Matthias Klose  <doko@ubuntu.com>

PR libstdc++/40038
* src/math_stubs_long_double.cc: Add ceill.

From-SVN: r147217

libstdc++-v3/ChangeLog
libstdc++-v3/src/math_stubs_long_double.cc

index 5b6e4e2a71fafd2f2c5095bc5c30e1f0fe21b618..104762d838dfc16367f2882ee6e312c0a5b468b0 100644 (file)
@@ -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
index 1b59034eb7155538055c76ba6601474c08b14caf..9f760cfb32f0256e653270081efe17a48bd23329 100644 (file)
@@ -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)