This is the mail archive of the gdb-prs@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]

[Bug gdb/18318] Printing an hexadecimal floating constant with negative exponent gives wrong result


https://sourceware.org/bugzilla/show_bug.cgi?id=18318

--- Comment #2 from Hugues de Lassus Saint-GeniÃs <huguesdelassus at hotmail dot fr> ---
I have encountered the same bug with explicitly positive exponents:

(gdb) p 0x1.8480000000000p+6
$1 = 7.517578125
(gdb) p 0x1.8480000000000p6
$2 = 97.125

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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