From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id E9F7A2FCBD for ; Fri, 27 Oct 2000 13:39:49 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id e9RHdn923460 for axp-list@listman.redhat.com; Fri, 27 Oct 2000 13:39:49 -0400 Received: from piglet.twiddle.net (piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id e9RHdmD23450 for ; Fri, 27 Oct 2000 13:39:48 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.9.3/8.9.3) id KAA12142 for axp-list@redhat.com; Fri, 27 Oct 2000 10:40:07 -0700 Date: Fri, 27 Oct 2000 10:40:07 -0700 From: Richard Henderson To: axp-list@redhat.com Subject: Re: glibc & ceil() Message-ID: <20001027104007.A12139@twiddle.net> References: <39F8090C.4268451C@voicenet.com> <39F96FF5.7F22DA9C@voicenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <39F96FF5.7F22DA9C@voicenet.com> X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Fri, Oct 27, 2000 at 07:07:17AM -0500, Uncle George wrote: > > is the correct result of ceil( -0.5) -0.0 or 0.0 ? -0.0. Ceil and floor always preserve the sign of the input. There was a bug in the alpha glibc implementation for a while (I don't recall when it was introduced). It has been fixed for the upcoming 2.2 release. r~