diff liboctave/lo-mappers.h @ 10436:00219bdd2d17

implement built-in rem and mod
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 23 Mar 2010 13:01:34 +0100
parents 9a16a61ed43d
children 4d1fc073fbb7
line wrap: on
line diff
--- a/liboctave/lo-mappers.h	Tue Mar 23 09:30:46 2010 +0100
+++ b/liboctave/lo-mappers.h	Tue Mar 23 13:01:34 2010 +0100
@@ -37,6 +37,7 @@
 extern OCTAVE_API double xroundb (double x);
 extern OCTAVE_API double signum (double x);
 extern OCTAVE_API double xtrunc (double x);
+extern OCTAVE_API double mod (double x, double y);
 extern OCTAVE_API double xlog2 (double x); 
 extern OCTAVE_API Complex xlog2 (const Complex& x); 
 extern OCTAVE_API double xlog2 (double x, int& exp);
@@ -125,6 +126,7 @@
 extern OCTAVE_API float xroundb (float x);
 extern OCTAVE_API float signum (float x);
 extern OCTAVE_API float xtrunc (float x);
+extern OCTAVE_API float mod (float x, float y);
 extern OCTAVE_API float xlog2 (float x); 
 extern OCTAVE_API FloatComplex xlog2 (const FloatComplex& x); 
 extern OCTAVE_API float xlog2 (float x, int& exp);