From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28931 invoked by alias); 8 Jun 2013 15:37:00 -0000 Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org Received: (qmail 28920 invoked by uid 89); 8 Jun 2013 15:37:00 -0000 X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 08 Jun 2013 15:36:58 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 055A94680015 for ; Sat, 8 Jun 2013 16:36:57 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7-O0WboiXI96; Sat, 8 Jun 2013 16:36:52 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001539] Single precision floating point math library Date: Sat, 08 Jun 2013 15:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ilijak@siva.com.mk X-Bugzilla-Status: NEW X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-06/txt/msg00017.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001539 --- Comment #29 from Ilija Kocho --- (In reply to comment #28) > (In reply to comment #27) > > > > I reproduced your tests and it come back to me. In case of default > > CYGNUM_LIBM_COMPATIBILITY configuration the real error is EDOM, but POSIX > > model doesn't seem to support it. The cases that test EDOM should be > > excluded for POSIX. (Please see comment 21 and patch sample below. > > I may not be following your reasoning, but POSIX behaviour does require > EDOM. For example: > > http://pubs.opengroup.org/onlinepubs/9699919799/functions/asin.html > > Jifl Thanks for reference. I'm referring to actual code Ref:float/ieee754_api/wf_asinf.c if (|x| > 1) POSIX mode sets errno = EDOM indeed, but returns 0 rather than NaN. Ilija -- You are receiving this mail because: You are on the CC list for the bug.