summaryrefslogtreecommitdiff
path: root/src/c/string/disp/zdisps.c
diff options
context:
space:
mode:
authorjofret2009-04-28 07:06:56 +0000
committerjofret2009-04-28 07:06:56 +0000
commit233be8f6d3f5170c417d00ee3ce843965490eab4 (patch)
tree2727e4fcfc1bde299f328f7284436821b6964541 /src/c/string/disp/zdisps.c
parent30658dcb442227fcdf7af402cea0788f73c06790 (diff)
downloadscilab2c-233be8f6d3f5170c417d00ee3ce843965490eab4.tar.gz
scilab2c-233be8f6d3f5170c417d00ee3ce843965490eab4.tar.bz2
scilab2c-233be8f6d3f5170c417d00ee3ce843965490eab4.zip
Moving source code
Diffstat (limited to 'src/c/string/disp/zdisps.c')
-rw-r--r--src/c/string/disp/zdisps.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/c/string/disp/zdisps.c b/src/c/string/disp/zdisps.c
new file mode 100644
index 00000000..c4ec137f
--- /dev/null
+++ b/src/c/string/disp/zdisps.c
@@ -0,0 +1,19 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#include "disp.h"
+
+double zdisps (doubleComplex in) {
+
+ printf(" %1.20f + %1.20fi \n" ,zreals(in) ,zimags(in));
+ return 0;
+}