[fpc-pascal] What about complex numbers?
carlos.avila.m at gmail.com
Thu Oct 6 00:30:46 CEST 2011
Is complex number arithmetic possible in FPC? Another post recommends use
unit so named ucomplex, but i can't find any detailed information of this in
the documentation. But, amazingly, i sucessfully probed this small program:
x,y, z, w: COMPLEX;
x := 8+i*7;
y := 4-5*i;
z := x+y;
w := x*y
This program compile and run right, but why? I need to know about anything
subroutines that works with complex numbers. It is posibble to write math
operations like FORTRAN?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal