From 33c5869cea9b4c9c672898684bf06df914b35ead Mon Sep 17 00:00:00 2001 From: jofret Date: Fri, 23 Feb 2007 16:28:59 +0000 Subject: * 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. --- src/type/testDoubleComplex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/type/testDoubleComplex.c') 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 ** ** 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; } -- cgit