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 E960B2F6A9 for ; Fri, 27 Oct 2000 09:11:35 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id e9RDBZM01764 for axp-list@listman.redhat.com; Fri, 27 Oct 2000 09:11:35 -0400 Received: from pop3.dvic.com (IDENT:root@[63.237.68.6]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id e9RDBZD01760 for ; Fri, 27 Oct 2000 09:11:35 -0400 Received: from voicenet.com ([63.237.68.244]) by pop3.dvic.com (8.9.3/8.8.7) with ESMTP id JAA23512 for ; Fri, 27 Oct 2000 09:07:05 -0400 Message-ID: <39F97F5E.7AEDED79@voicenet.com> Date: Fri, 27 Oct 2000 08:13:02 -0500 From: Uncle George Organization: GatWorks X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.16 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: glibc & ceil() References: <39F8090C.4268451C@voicenet.com> <39F96FF5.7F22DA9C@voicenet.com> <39F978F5.BE23BE6D@tn.utwente.nl> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.redhat.com id e9RDBZD01760 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 Some one pointed out that i need to include math.h ie #inclued to get the right casting. But even with the correct casting, a ceil( -0.5 ) gives me a 0.0 /gat "Andrei A. Dergatchev" wrote: > FWIW on Sparc Solaris 7 Sun C 5.0 with -xarch=v9a gives r = 0 > > > Uncle George wrote: > > > > > is the correct result of ceil( -0.5) -0.0 or 0.0 ? > > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list