From owner-freebsd-chat Tue Oct 20 20:16:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA08652 for freebsd-chat-outgoing; Tue, 20 Oct 1998 20:16:46 -0700 (PDT) (envelope-from owner-freebsd-chat@FreeBSD.ORG) Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA08638 for ; Tue, 20 Oct 1998 20:16:16 -0700 (PDT) (envelope-from jobaldwi@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id XAA00216 for ; Tue, 20 Oct 1998 23:15:22 -0400 (EDT) Received: from john.baldwinfamily.org (jobaldwi.campus.vt.edu [198.82.67.63]) by sable.cc.vt.edu (8.8.8/8.8.8) with ESMTP id XAA29163 for ; Tue, 20 Oct 1998 23:15:18 -0400 (EDT) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 20 Oct 1998 23:15:18 -0400 (EDT) Reply-To: jobaldwi@vt.edu Organization: Virginia Tech From: John Baldwin To: freebsd-chat@FreeBSD.ORG Subject: Bug in rintf()?... Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- I've been having a problem with rintf() not rounding properly, and I don't understand the code in /usr/src/libm/common_source/floor.c well enough to figure out where it is going wrong. Here is the problem I'm having though: rintf(3.5) returns 4.0 rintf(3910.5) returns 3910.0 (should return 3911.0) I'm running 2.2.7-Stable, btw. Any help is appreciated. - --- John Baldwin -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc Always forgive your enemies--nothing annoys them so -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQB1AwUBNi1Rv4jYza302vYpAQEZzAL/Q8PI1lruSRFBbt9NTago+2XCl/uYBiFt G3A7tkKyG0w9hdSlMIUSs4fQlj8aqc72e1Phq9lzufhGvKdzisGX8+KAToyPeYef D5eaUl/tsbo6QqYyMPfKZxhbLtsN/muf =Gnr1 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message