This is the mail archive of the
mailing list for the GDB project.
misrepresentation of complex numbers
- From: "Arthur H. Edwards,1,505-853-6042,505-256-0834" <edwards at icantbelieveimdoingthis dot com>
- To: gdb at sources dot redhat dot com, edwards at icantbelieveimdoingthis dot com
- Date: Mon, 26 Nov 2001 13:07:54 -0700
- Subject: misrepresentation of complex numbers
I attach a very simple code, testc.f that illustrates the bug in dbg.
After compiling with the -g option stop the code at line 7 and issue the
gdb will respond with
$1 = (10,10)
issue the cont command and you will see that the number should be
a = 2*5.0d0
b = 2*2.0d0