changeset 7529:7e1b042c5418

octave_scalar::round: use xround instead of ::round (MSVC does not have ::round).
author Michael Goffioul <michael.goffioul@gmail.com>
date Mon, 25 Feb 2008 16:09:48 -0500
parents 26d8a92644de
children bb0f2353cff5
files src/ChangeLog src/ov-scalar.cc
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Feb 25 15:57:49 2008 -0500
+++ b/src/ChangeLog	Mon Feb 25 16:09:48 2008 -0500
@@ -1,3 +1,8 @@
+2008-02-25  Michael Goffioul  <michael.goffioul@gmail.com>
+
+	* ov-scalar.cc (octave_scalar::round): Use xround instead of ::round
+	in mapper implementation.
+
 2008-02-25  John W. Eaton  <jwe@octave.org>
 
 	* ov-base.cc (UNDEFINED_MAPPER, STRING_MAPPER): New macros.  Use
--- a/src/ov-scalar.cc	Mon Feb 25 15:57:49 2008 -0500
+++ b/src/ov-scalar.cc	Mon Feb 25 16:09:48 2008 -0500
@@ -331,7 +331,7 @@
 CD_SCALAR_MAPPER (log, ::log, std::log, 0.0, octave_Inf)
 CD_SCALAR_MAPPER (log10, ::log10, std::log10, 0.0, octave_Inf)
 SCALAR_MAPPER (real, ::real)
-SCALAR_MAPPER (round, ::round)
+SCALAR_MAPPER (round, xround)
 SCALAR_MAPPER (signum, ::signum)
 SCALAR_MAPPER (sin, ::sin)
 SCALAR_MAPPER (sinh, ::sinh)