public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/5007] New: (hpd) print 1.0 -format x -> 0x1p0 ; i.e., float but in base hex
@ 2007-09-07 14:40 cagney at redhat dot com
  2008-01-22 21:44 ` [Bug general/5007] " cagney at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: cagney at redhat dot com @ 2007-09-07 14:40 UTC (permalink / raw)
  To: frysk-bugzilla

There's a pre-cursor to this - code to unpack and perform arbitrary floating-point.

There's also subtle problems in attempting up conversion such as float->double
alter the value:

  print 1.4
  $1 = 1.3999999999999999

vs:

  print 1.4
  1.4

someone into hard-core floating-point isn't going to accept the former.

-- 
           Summary: (hpd) print 1.0 -format x -> 0x1p0 ; i.e., float but in
                    base hex
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: cagney at redhat dot com


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-24 19:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-07 14:40 [Bug general/5007] New: (hpd) print 1.0 -format x -> 0x1p0 ; i.e., float but in base hex cagney at redhat dot com
2008-01-22 21:44 ` [Bug general/5007] " cagney at redhat dot com
2008-01-24 19:31 ` tthomas at redhat dot com
2008-01-24 19:33 ` tthomas at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).