diff liboctave/numeric/lo-mappers.h @ 15409:c898dbe14e1d

build: Update imported module list from gnulib. * bootstrap.conf: Update imported module list from gnulib. * libgnu/Makefile.am: Auto-updated by gnulib-tool. * liboctave/link-deps.mk: Add FLOORF_LIBM to list of GNULIB_DEPS. * lo-mappers.h (xfloor): Change float version to forward to xfloor in lo-mappers.cc instead of being an inline function. * lo-mappers.c (xfloor): New function with float signature which calls gnulib::floorf. (xround) : Fix typo and call gnulib::roundf for float version of function. * file-ops.cc: Include "canonicalize.h" for access to gnulib::canonicalize_file_name.
author Rik <rik@octave.org>
date Tue, 18 Sep 2012 10:15:05 -0700
parents 648dabbb4c6b
children ecf5be238b4a
line wrap: on
line diff
--- a/liboctave/numeric/lo-mappers.h	Tue Sep 18 08:50:17 2012 -0700
+++ b/liboctave/numeric/lo-mappers.h	Tue Sep 18 10:15:05 2012 -0700
@@ -119,7 +119,7 @@
 extern OCTAVE_API float xtrunc (float x);
 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); }
+extern OCTAVE_API float xfloor (float x);
 inline float arg (float x) { return atan2f (0.0f, x); }
 inline float conj (float x) { return x; }
 inline float fix (float x) { return xtrunc (x); }