Re: [cc65] float and double support - libraries?

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-03-08 01:19:27


On Friday 07 March 2003 18:35, Piotr Fusik wrote:
> > mmmh could you explain the latter? just curious :O)
>
> float NaN = 0.0 / 0.0;
> printf("%d\n", !(NaN >= NaN));  /* 1 */
> printf("%d\n", NaN < NaN); /* 0 */
>
> Simply result of comparision anything with NaN is false.

ah ok... for me x/0 is just 0 :=P

gpz
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-03-08 01:13:27 CET