scsh-users
[Top] [All Lists]

Re: transcendental functions broken?

To: scsh@martigny.ai.mit.edu
Subject: Re: transcendental functions broken?
From: "Jin S. Choi" <jsc@atype.com>
Date: Fri, 15 Nov 1996 10:14:27 -0500
Reply-to: jsc@atype.com
Shouldn't floatnums be part of the default environment? These
functions ARE in r4rs.

    These procedures are part of every implementation that supports
    general real numbers; they compute the usual transcendental
    functions


And here's another question. Is there any way to do arithmetic with
the results of these functions without getting a warning?

> (/ (sin 3) 1)

Warning: invalid arguments
         (/ (sin 3) 1)
         (procedure wants: (&rest :number))
         (arguments are: (:extended-number :exact-integer))
0.14112
> 


>>>>> "Michael" == Michael Sperber [Mr Preprocessor] 
>>>>> <sperber@informatik.uni-tuebingen.de> writes:

>>>>> "John" == John Gillespie <john@josquin.ucdavis.edu> writes:
    John> Jin S. Choi (jsc@atype.COM) wrote:

    John> : What's wrong with this?


    John> : Scsh 0.4
    John> : > (log 3)

    John> .....

    John> I just verified the same problem on a Linux 2.0 system.

    Michael> And again:

    Michael> ,open floatnums

    Michael> This should probably be in the FAQ.


<Prev in Thread] Current Thread [Next in Thread>