summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/string/disp
diff options
context:
space:
mode:
authorBrijeshcr2017-07-06 15:48:47 +0530
committerGitHub2017-07-06 15:48:47 +0530
commitc600ebcb67961fe6007ba41fd5ad987da3af7f6e (patch)
tree26fc9679644561759e8a2c4080059d30b70a3105 /2.3-1/src/c/string/disp
parenta7eeecce4c7c39ea52a2d434815c574a2c42730d (diff)
downloadScilab2C-c600ebcb67961fe6007ba41fd5ad987da3af7f6e.tar.gz
Scilab2C-c600ebcb67961fe6007ba41fd5ad987da3af7f6e.tar.bz2
Scilab2C-c600ebcb67961fe6007ba41fd5ad987da3af7f6e.zip
Revert "LinearAlgebra Function Added"
Diffstat (limited to '2.3-1/src/c/string/disp')
-rw-r--r--2.3-1/src/c/string/disp/ddisph.c2
-rw-r--r--2.3-1/src/c/string/disp/ddisps.c2
-rw-r--r--2.3-1/src/c/string/disp/zdispa.c2
-rw-r--r--2.3-1/src/c/string/disp/zdisps.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/2.3-1/src/c/string/disp/ddisph.c b/2.3-1/src/c/string/disp/ddisph.c
index b36ecb80..71cda9f4 100644
--- a/2.3-1/src/c/string/disp/ddisph.c
+++ b/2.3-1/src/c/string/disp/ddisph.c
@@ -22,7 +22,7 @@ double ddisph (double* in, int rows, int columns, int levels){
{
for (j=0;j<columns;j++)
{
- printf (" %e ", in[i+j*rows+k*columns*rows]);
+ printf (" %1.20f ", in[i+j*rows+k*columns*rows]);
}
printf("\n");
}
diff --git a/2.3-1/src/c/string/disp/ddisps.c b/2.3-1/src/c/string/disp/ddisps.c
index 513f8ee1..d1b4ef80 100644
--- a/2.3-1/src/c/string/disp/ddisps.c
+++ b/2.3-1/src/c/string/disp/ddisps.c
@@ -13,6 +13,6 @@
#include "disp.h"
double ddisps (double in) {
- printf (" %e \n", in);
+ printf (" %1.20f \n", in);
return 0;
}
diff --git a/2.3-1/src/c/string/disp/zdispa.c b/2.3-1/src/c/string/disp/zdispa.c
index 94b24e98..bc71de4b 100644
--- a/2.3-1/src/c/string/disp/zdispa.c
+++ b/2.3-1/src/c/string/disp/zdispa.c
@@ -16,7 +16,7 @@ double zdispa (doubleComplex* in, int rows, int columns){
int i = 0,j = 0;
for (i = 0; i < rows; ++i) {
- for (j=0;j<columns;j++) printf(" %e + %ei " ,zreals(in[i+j*rows]) ,zimags(in[i+j*rows]));
+ for (j=0;j<columns;j++) printf(" %1.20lf + %1.20lfi " ,zreals(in[i+j*rows]) ,zimags(in[i+j*rows]));
printf("\n");
}
return 0;
diff --git a/2.3-1/src/c/string/disp/zdisps.c b/2.3-1/src/c/string/disp/zdisps.c
index 4a040cd7..c4ec137f 100644
--- a/2.3-1/src/c/string/disp/zdisps.c
+++ b/2.3-1/src/c/string/disp/zdisps.c
@@ -14,6 +14,6 @@
double zdisps (doubleComplex in) {
- printf(" %e + %ei \n" ,zreals(in) ,zimags(in));
+ printf(" %1.20f + %1.20fi \n" ,zreals(in) ,zimags(in));
return 0;
}