diff src/OPERATORS/op-fcs-fs.cc @ 7814:87865ed7405f

Second set of single precision test code and fix of resulting bugs
author David Bateman <dbateman@free.fr>
date Mon, 02 Jun 2008 16:57:45 +0200
parents 82be108cc558
children eb63fbe60fab
line wrap: on
line diff
--- a/src/OPERATORS/op-fcs-fs.cc	Thu May 22 22:00:26 2008 +0200
+++ b/src/OPERATORS/op-fcs-fs.cc	Mon Jun 02 16:57:45 2008 +0200
@@ -33,6 +33,7 @@
 #include "ov-cx-mat.h"
 #include "ov-flt-cx-mat.h"
 #include "ov-float.h"
+#include "ov-scalar.h"
 #include "ov-typeinfo.h"
 #include "ops.h"
 #include "xdiv.h"
@@ -159,6 +160,12 @@
 DEFNDCATOP_FN (fcs_fs, float_complex, float_scalar, float_complex_array, 
 	       float_array, concat)
 
+DEFNDCATOP_FN (cs_fs, complex, float_scalar, float_complex_array, 
+	       float_array, concat)
+
+DEFNDCATOP_FN (fcs_s, float_complex, scalar, float_complex_array, 
+	       float_array, concat)
+
 void
 install_fcs_fs_ops (void)
 {
@@ -182,6 +189,8 @@
   INSTALL_BINOP (op_el_or, octave_float_complex, octave_float_scalar, el_or);
 
   INSTALL_CATOP (octave_float_complex, octave_float_scalar, fcs_fs);
+  INSTALL_CATOP (octave_complex, octave_float_scalar, cs_fs);
+  INSTALL_CATOP (octave_float_complex, octave_scalar, fcs_s);
 
   INSTALL_ASSIGNCONV (octave_float_complex, octave_float_scalar, 
 		      octave_float_complex_matrix);