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: Scott Draves <spot@cs.cmu.edu>
Date: Sat, 26 Apr 1997 23:37:56 -0400
Organization: Carnegie Mellon University
Reply-to: spot@cs.cmu.edu
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.

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