From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22119 invoked by alias); 3 Apr 2012 07:38:30 -0000 Received: (qmail 22006 invoked by uid 22791); 3 Apr 2012 07:38:29 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Apr 2012 07:38:15 +0000 From: "aj at suse dot de" To: glibc-bugs@sources.redhat.com Subject: [Bug math/13940] acos returns wrong value Date: Tue, 03 Apr 2012 07:38: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aj at suse dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status CC Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-04/txt/msg00017.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13940 Andreas Jaeger changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |aj at suse dot de Resolution| |WORKSFORME --- Comment #1 from Andreas Jaeger 2012-04-03 07:37:58 UTC --- I just wrote a short test program to confirm that the test we have in the math testsuite for acos(-1) is working: #include #include int main (void) { float f; double d; long double ld; f = acosf (-1.0f); d = acos (-1.0); ld = acosl (-1.0); printf ("float %f\n", f); printf ("double %f\n", d); printf ("long double %Lf\n", ld); return 0; } It returns on my glibc 2.15 system: aj@byrd:/tmp> gcc -Wall -lm t.c aj@byrd:/tmp> ./a.out float 3.141593 double 3.141593 long double 3.141593 So, everything is fine. If it does not work for you, please attach a short selfcontained test case and example output. Closing as WORKSFORME - feel free to reopen if you have additional data. The issue mentioned in libc-help is something different and as Carlos said, it needs a separate bug report. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.