From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25579 invoked by alias); 7 Sep 2007 14:40:26 -0000 Received: (qmail 25538 invoked by uid 48); 7 Sep 2007 14:40:16 -0000 Date: Fri, 07 Sep 2007 14:40:00 -0000 From: "cagney at redhat dot com" To: frysk-bugzilla@sourceware.org Message-ID: <20070907144016.5007.cagney@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/5007] New: (hpd) print 1.0 -format x -> 0x1p0 ; i.e., float but in base hex X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00401.txt.bz2 List-Id: 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.