Infinity printed as 0.

John Parkes jp012c6013@blueyonder.co.uk
Tue Jan 2 19:50:00 GMT 2007


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




More information about the Gdb mailing list