[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*To*: gjs@MC.LCS.MIT.EDU, rrrs-authors@MC.LCS.MIT.EDU*Subject*: Scheme number notation*From*: SUSSMAN@G.BBN.COM*Date*: 8 Feb 1988 09:35-EST*Cc*: allen@SOCRATES.BBN.COM, quigley@SOCRATES.BBN.COM*Cc*: sas@BFLY-VAX.BBN.COM, las@BFLY-VAX.BBN.COM*Cc*: sussman@G.BBN.COM, amellor@BFLY-VAX.BBN.COM*Cc*: ajc@BFLY-VAX.BBN.COM*Sender*: SUSSMAN@G.BBN.COM

R3RS doesn't say what the meaning of E notation (for the exponent) is. In MIT C/Scheme, apparently <stuff>e<exp> means <stuff>*10^<exp> regardless of the base. E.g. #b1e2 is 100 decimal, not 100 binary. Worse yet, though the lexical grammar allows E<exp> with any base, it can't work with hex, since E is a hex digit. Hence, #b1E2 = #o1E2 = 1E2 = 100 but #x1E2 = 482 Julie

**Follow-Ups**:**Scheme number notation***From:*Mark A. Sheldon <DEATH@XX.LCS.MIT.EDU>

- Prev by Date:
**Can we standardize Scheme without killing it?** - Next by Date:
**Wording to fix for LETREC** - Prev by thread:
**A vote for a minimal standard** - Next by thread:
**Scheme number notation** - Index(es):