delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/03/10:24:22

Date: Fri, 3 Jun 94 09:22:54 EDT
To: tesla AT lamar DOT ColoState DOT EDU (Jon Nash)
From: richard DOT young AT clark DOT dgim DOT doc DOT ca (Richard Young)
Subject: Re: Possible bug in Complex class (?)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

>
>Hello all,
>
>I'm writing a program that uses the function double arg(Complex) that is in
>the Complex C++ include file.  I found that I needed to modify the results of
>arg() so I began to code a function to do that... starting by just returning
>arg(z).  The code crashes.  I've stripped down the code...  Do you all see
>any reason for the code to crash, does it crash on your system?
>
>(I'm using v1.11maint5)  The code compiles and runs fine with TC.
>

I compiled and ran your test on my 66 MHz Dell 486 running Win3.1 and I also 
found the code to crash with a floating point exception.  I am also using 
v1.11 maint 5.

Richard Young


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019