X-Spam-Check-By: sourceware.org Message-ID: <46D5AE54.6ACA25D6@dessent.net> Date: Wed, 29 Aug 2007 10:35:16 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: newlib AT sourceware DOT org CC: cygwin AT cygwin DOT com Subject: Re: 1.5.24: sin() bug References: <20070829153331 DOT GA95558 AT tetsuo DOT karasik DOT eu DOT org> <46D5A79E DOT C09EF7CE AT dessent DOT net> <003201c7ea5f$d01db8f0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <46D5AD5A DOT B110DBB6 AT dessent DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Brian Dessent wrote: > > Since when was pi less than 2^-27? > > This is a kernel sin, a function over the limited range [-pi/4, pi/4], > where the general case sin is reduced to kernel sin by the remainder of > modulus pi/2. And note that the testcase is not exactly pi, it's pi minus a very small number: // M_PI 3.14159265358979323846 double g = 3.1415926535897900074; Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/