diff liboctave/numeric/lo-mappers.cc @ 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 4d960b078272
line wrap: on
line diff
--- a/liboctave/numeric/lo-mappers.cc	Tue Sep 18 08:50:17 2012 -0700
+++ b/liboctave/numeric/lo-mappers.cc	Tue Sep 18 10:15:05 2012 -0700
@@ -279,10 +279,15 @@
   return gnulib::copysignf (x, y);
 }
 
+float xfloor (float x)
+{
+  return gnulib::floorf (x);
+}
+
 float
 xround (float x)
 {
-  return gnulib::round (x);
+  return gnulib::roundf (x);
 }
 
 float