diff liboctave/lo-mappers.h @ 13737:30414ff19d5e

Use copysignf module from gnulib. * bootstrap.conf: Add copysignf. * lo-cieee.c: Remove obsolete CPP statements about copysign. * lo-mappers.h (xcopysign): Make non inlined. (xcopysignf): Likewise. * lo-mappers.cc (xcopysign): Moved from header and use gnulib replavement. (xcopysignf): Likewise.
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 20 Oct 2011 15:35:44 +0100
parents 8fb563d14d2f
children 6dfebfa334cb
line wrap: on
line diff
--- a/liboctave/lo-mappers.h
+++ b/liboctave/lo-mappers.h
@@ -31,7 +31,7 @@
 
 // Double Precision
 extern OCTAVE_API double xtrunc (double x);
-inline double xcopysign (double x, double y) { return copysign (x, y); }
+extern OCTAVE_API double xcopysign (double x, double y);
 inline double xceil (double x) { return ceil (x); }
 extern OCTAVE_API double xfloor (double x);
 inline double arg (double x) { return atan2 (0.0, x); }
@@ -117,7 +117,7 @@
 
 // Single Precision
 extern OCTAVE_API float xtrunc (float x);
-inline float xcopysign (float x, float y) { return copysignf (x, y); }
+extern OCTAVE_API float xcopysign (float x, float y);
 inline float xceil (float x) { return ceilf (x); }
 inline float xfloor (float x) { return floorf (x); }
 inline float arg (float x) { return atan2f (0.0f, x); }