[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14870: gcd and lcm do not work on inexact integers
From: |
Göran Weinholt |
Subject: |
bug#14870: gcd and lcm do not work on inexact integers |
Date: |
Mon, 15 Jul 2013 15:00:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
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 <address@hidden>
"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
pgp3nCFBJgArQ.pgp
Description: PGP signature
- bug#14870: gcd and lcm do not work on inexact integers,
Göran Weinholt <=