Reading infinity

From: David Fox <fox_at_graphics.cs.nyu.edu>
Date: 01 Oct 1996 05:19:00 -0400

I just ran into a problem where I can't read numbers that I wrote:
(This is on an x86 CPU)

  STk> (define n 1.79769313486233e+308)
  #[undefined]
  STk> (format (current-output-port) "%s\n" n)
              Inf.0
  STk> (define n Inf.0)
  
  *** Error:
      unbound variable: inf.0
  Current eval stack:
  __________________
    0 (%syntax-define n inf.0)
  STk>

Is there any way to read and write infinity or minus infinity? I
supose I could check each number and write the value shown above it it
was too big.
-- 
David Fox	   http://found.cs.nyu.edu/fox		xoF divaD
NYU Media Research Lab   fox_at_cs.nyu.edu    baL hcraeseR aideM UYN
Received on Tue Oct 01 1996 - 10:48:01 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST