bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29387: Guile-2.2.2 complex numbers edge case


From: Jan Wedekind
Subject: bug#29387: Guile-2.2.2 complex numbers edge case
Date: Tue, 21 Nov 2017 22:09:57 +0000 (GMT)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

Hi,
I think I encountered a bug in the numerical stack.
i times i should equal -1:

    (equal? -1 (* 0+i 0+i))
    ; #f

i times i plus one is zero (which is correct):
    (zero? (+ (* 0+i 0+i) 1))
    ; #t

Regards
Jan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]