Mail Archives: djgpp/1999/11/21/22:05:44
Heya
Another way to do it is to have two floating point parts for both the real and
imaginary parts and doing the equations for imaginary multiplication, etc.
yourself.
- Michael
Damian Yerrick wrote:
> "David Pinkerton" <pinkerton AT desupernet DOT net> wrote:
> > Im working on making a small program that would display Fractals and the
> > like , but all the equations ive seen involved imaginary numbers. Is there
> a
> > biult in constant somwhere in djgpp for dealing with these. i tried
> setting
> > a variable equal to sqrt(-1) but it came back undefined. thanks alot
> >
> > Josh
>
> Have you looked at the C++ complex.h functions?
>
> Damian Yerrick
- Raw text -