<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.1.92">
</HEAD>
<BODY>
On Fri, 2011-12-02 at 19:01 -0800, Andrew Lentvorski wrote:<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
I think that expansion is wrong.  IIRC, IEEE754 specifies that NaNs are 
unordered.  Consequently, I think that both (nan1 == nan2) and (nan1 != 
nan2) must return false.
</PRE>
</BLOCKQUOTE>
<BR>
That's true in C, and in Gambit<BR>
<BR>
(= nan1 nan2) => #f<BR>
<BR>
because it conforms to IEEE floating-point equality.<BR>
<BR>
But eqv? compares floating-point numbers bitwise in Gambit, and I agree with  that behavior.<BR>
<BR>
Brad
</BODY>
</HTML>