From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3835 invoked by alias); 31 May 2013 05:39:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 31381 invoked by uid 48); 31 May 2013 05:38:51 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/15536] ulp (0x0.0p0) is not FP_SUBNORMAL! Date: Fri, 31 May 2013 05:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.18 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: carlos at redhat dot com X-Bugzilla-Target-Milestone: 2.18 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00262.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15536 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph at codesourcery dot com --- Comment #2 from Carlos O'Donell --- Is there a publicly available standard that describes IBM extended precision long doubles? The smallest value I can compute is 2^(-1075): 4.94065645841246544177e-324 0x0.00000000000010000000p-1022 The smallest computed value matches the AIX expectations for the, I assume, similar type. I'm going to go with the smallest computed value as ulp of zero. Why? Because the first double represents the number, and if it's mantissa is zero and the exponent is zero, then it's zero. The extra precision from the second double is useless for subnormal values. Therefore the smallest subnormal is identical to that for double. -- You are receiving this mail because: You are on the CC list for the bug.