This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Infinity printed as 0.


Why does GDB (6.6 and earlier) print infinity as zero ? valprint.c:print_floating singles out NaNs for special treatment, but not infinities. The latter seem to get converted to zero before being printed out.

Thanks, John Parkes



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]