unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#29387: Guile-2.2.2 complex numbers edge case
@ 2017-11-21 22:09 Jan Wedekind
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Wedekind @ 2017-11-21 22:09 UTC (permalink / raw)
  To: 29387

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-23 14:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.9100.1511364130.27994.bug-guile@gnu.org>
2017-11-22 15:53 ` bug#29387: Guile-2.2.2 complex numbers edge case Daniel Llorens
2017-11-22 18:32   ` Jan Wedekind
     [not found]     ` <FE47AB49-84AF-494F-9AEA-160AB09FB4FF@bluewin.ch>
2017-11-23 14:48       ` Daniel Llorens
2017-11-21 22:09 Jan Wedekind

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).