* doco round
@ 2003-06-13 22:02 Kevin Ryde
2003-06-13 22:20 ` Marius Vollmer
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Ryde @ 2003-06-13 22:02 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: scheme-data.texi.round.diff --]
[-- Type: text/x-patch, Size: 455 bytes --]
--- 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")
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: doco round
2003-06-13 22:02 doco round Kevin Ryde
@ 2003-06-13 22:20 ` Marius Vollmer
0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2003-06-13 22:20 UTC (permalink / raw)
Kevin Ryde <user42@zip.com.au> writes:
> This would be for the 1.6 branch too I think, since it's contrary to
> the r5rs and the code.
Yes, please fix this in 1.6 as well.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-13 22:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-13 22:02 doco round Kevin Ryde
2003-06-13 22:20 ` Marius Vollmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).