This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/5007] (hpd) print 1.0 -format x -> 0x1p0 ; i.e., float but in base hex
- From: "tthomas at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 24 Jan 2008 19:30:36 -0000
- Subject: [Bug general/5007] (hpd) print 1.0 -format x -> 0x1p0 ; i.e., float but in base hex
- References: <20070907144016.5007.cagney@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From tthomas at redhat dot com 2008-01-24 19:30 -------
Eg:
(fhpd) print 2.0 -format x
0x1.0p1
Commit:
Format floating points as hex constants for '-format x'.
frysk-core/frysk/value/ChangeLog
2008-01-24 Teresa Thomas <tthomas@redhat.com>
* FloatingPointType.java (printAsHexConstant): New.
* Format.java (printHexadecimalFP): Call printAsHexConstant.
* TestFormat.java (testHexadecimal): Update values.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |5361
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=5007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.