Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Scheme Programming Language

Distinguishing usual numbers, infinities and NaN


Hello!

In a Scheme program, I need to distinguish infinities and NaN values.
In Guile, it's simple, it's just the functions "inf?" and "nan?". But
when I took another implementation, I got troubles. I spent a lot of
time and tried everything -- "=", "eq?", "equal?", but nothing helped.
Fortunately, after a break, I found a simple universal solution.

If anyone cares, here is it:

http://uucode.com/blog/2007/05/30/distinguishing-usual-numbers-infini...

--
Oleg Parashchenko  olpa@ http://uucode.com/
http://tohtml.com/       Online syntax highlighting

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc