* bug#14870: gcd and lcm do not work on inexact integers
@ 2013-07-15 13:00 Göran Weinholt
2013-07-16 10:43 ` Mark H Weaver
0 siblings, 1 reply; 2+ messages in thread
From: Göran Weinholt @ 2013-07-15 13:00 UTC (permalink / raw)
To: 14870
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
Hello schemers,
the gcd and lcm procedures from (rnrs) do not work on inexact integers:
scheme@(guile-user)> (import (rnrs))
scheme@(guile-user)> (lcm 32.0 -36)
ERROR: In procedure lcm:
ERROR: In procedure lcm: Wrong type argument in position 1: 32.0
This is an example from r6rs. Tested with Guile 2.0.9.22-7e816-dirty.
Regards,
--
Göran Weinholt <goran@weinholt.se>
"Did the writer not know that the use of the term 'the real world' is usually
interpreted as a symptom of rabid anti-intellectualism, or did he not mind?"
-- prof.dr. Edsger W. Dijkstra
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#14870: gcd and lcm do not work on inexact integers
2013-07-15 13:00 bug#14870: gcd and lcm do not work on inexact integers Göran Weinholt
@ 2013-07-16 10:43 ` Mark H Weaver
0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2013-07-16 10:43 UTC (permalink / raw)
To: Göran Weinholt; +Cc: 14870-done
Göran Weinholt <goran@weinholt.se> writes:
> the gcd and lcm procedures from (rnrs) do not work on inexact integers:
Fixed in 3bbca1f7237c0e9d9419eaea8f274c9cd7314f04.
Thanks!
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-16 10:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-15 13:00 bug#14870: gcd and lcm do not work on inexact integers Göran Weinholt
2013-07-16 10:43 ` Mark H Weaver
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).