From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: doco round Date: Sat, 14 Jun 2003 08:02:08 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87u1atocv3.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1055542025 3514 80.91.224.249 (13 Jun 2003 22:07:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2003 22:07:05 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 14 00:07:01 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Qwd3-0000ct-00 for ; Sat, 14 Jun 2003 00:02:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Qwex-0006Z7-Pv for guile-devel@m.gmane.org; Fri, 13 Jun 2003 18:04:35 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Qwee-0006YN-Ub for guile-devel@gnu.org; Fri, 13 Jun 2003 18:04:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Qwdi-00069P-Uf for guile-devel@gnu.org; Fri, 13 Jun 2003 18:03:19 -0400 Original-Received: from snoopy.pacific.net.au ([61.8.0.36]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Qwcr-0005vw-PL for guile-devel@gnu.org; Fri, 13 Jun 2003 18:02:26 -0400 Original-Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) h5DM2HYd023216 for ; Sat, 14 Jun 2003 08:02:18 +1000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h5DM2HQg015134 for ; Sat, 14 Jun 2003 08:02:17 +1000 (EST) Original-Received: from localhost (ppp109.dyn228.pacific.net.au [203.143.228.109]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h5DM2FYZ022615 for ; Sat, 14 Jun 2003 08:02:16 +1000 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19Qwcb-0000Yq-00; Sat, 14 Jun 2003 08:02:09 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2532 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2532 --=-=-= Bit of a gremlin in the description of round, it says the same as truncate. * scheme-data.texi (Arithmetic): round is to nearest even. This would be for the 1.6 branch too I think, since it's contrary to the r5rs and the code. - Scheme Procedure: round x Round the inexact number X to the nearest integer. When exactly halfway between two integers, round to the even one. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=scheme-data.texi.round.diff --- scheme-data.texi.~1.32.~ 2003-06-12 08:57:01.000000000 +1000 +++ scheme-data.texi 2003-06-14 07:56:20.000000000 +1000 @@ -780,7 +780,8 @@ @c begin (texi-doc-string "guile" "round") @deffn {Scheme Procedure} round x -Round the inexact number @var{x} towards zero. +Round the inexact number @var{x} to the nearest integer. When exactly +halfway between two integers, round to the even one. @end deffn @c begin (texi-doc-string "guile" "floor") --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel --=-=-=--