summaryrefslogtreecommitdiff
path: root/src/type/testDoubleComplex.c
diff options
context:
space:
mode:
authorjofret2007-02-23 16:28:59 +0000
committerjofret2007-02-23 16:28:59 +0000
commit33c5869cea9b4c9c672898684bf06df914b35ead (patch)
treed2e6ffaecff66a885878da73cb155e777045f46e /src/type/testDoubleComplex.c
parent3fcf5c2b92d513ca1fd52db020034a7f9ab57ff2 (diff)
downloadscilab2c-33c5869cea9b4c9c672898684bf06df914b35ead.tar.gz
scilab2c-33c5869cea9b4c9c672898684bf06df914b35ead.tar.bz2
scilab2c-33c5869cea9b4c9c672898684bf06df914b35ead.zip
* src/type/doubleComplexC99.h :
_REMOVED_ : All declarations are put in src/type/doubleComplex.h . * src/type/floatComplexC99.h : _REMOVED_ : All declarations are put in src/type/floatComplex.h . Standard C99 must _NOT_ override my own interfaces. Encapsulate some declarations. Complex representation is now accessed through a Bridge during compilation.
Diffstat (limited to 'src/type/testDoubleComplex.c')
-rw-r--r--src/type/testDoubleComplex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/type/testDoubleComplex.c b/src/type/testDoubleComplex.c
index 5ca02f98..704613c0 100644
--- a/src/type/testDoubleComplex.c
+++ b/src/type/testDoubleComplex.c
@@ -5,7 +5,7 @@
** Made by Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on Thu Nov 30 16:59:04 2006 jofret
-** Last update Fri Feb 2 15:39:31 2007 jofret
+** Last update Fri Feb 23 16:19:35 2007 jofret
**
** Copyright INRIA 2006
*/
@@ -34,7 +34,7 @@
int main(int argc, char **argv) {
/* z = -3 + 25*%i */
doubleComplex z = DoubleComplex(-3,25);
- printf("Partie reelle = %f\n", creal(z));
- printf("Partie imaginaire = %f\n", cimag(z));
+ printf("Partie reelle = %f\n", zreals(z));
+ printf("Partie imaginaire = %f\n", zimags(z));
return 0;
}