scsh-users
[Top] [All Lists]

Re: Bug? Whats wrong with the symbol -i?

To: scsh-news@martigny.ai.mit.edu
Subject: Re: Bug? Whats wrong with the symbol -i?
From: Chris.Bitmead@Alcatel.com.au (Chris Bitmead uid(x22068))
Date: 28 Apr 1997 05:39:19 GMT
Organization: Alcatel Australia Limited
Reply-to: Chris.Bitmead@Alcatel.com.au
In article <3362CA14.5EBC2964@cs.cmu.edu> Scott Draves <spot@cs.cmu.edu> writes:

>Scsh 0.5
>  > '-i
>  0-1i
>  > 
>
>it's a complex number.  here's the rule from the
>lexical structure:
>
>
><num R> ==> <prefix R> <complex R>
><complex R> ==> <real R> | <real R>  <real R>
>     | <real R> + <ureal R> i | <real R> - <ureal R> i
>     | <real R> + i | <real R> - i
>     | + <ureal R> i | - <ureal R> i | + i | - i
>
>
>i would recommend removing them from scsh.

Forcing you to write -1i if that's what you mean seems reasonable.


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