Patches to the reader for a more sane number syntax to be used in the
teaching languages are welcome. Note that we already have some of
these in place, as 1.2 reads as a rational in the teaching languages.
Robby
On Tue, Sep 20, 2016 at 10:39 AM, Ben Greenman
wrote:
> Whew, fantastic! Thank you.
On 2016-09-20 11:32:35 -0400, Asumu Takikawa wrote:
> For example, an implementation with two internal representations may map
> short and single together and long and double together.
BTW, I think this is what Racket does. It just has single and double.
> 283403902385293s1
2.834039f+15
Whew, fantastic! Thank you.
(Should I tell the Fundamentals I students about R6RS?)
On Tue, Sep 20, 2016 at 11:32 AM, Asumu Takikawa
wrote:
> On 2016-09-20 11:27:07 -0400, Ben Greenman wrote:
> >Oh! Just found that common lisp used these for types:
> >- s = short
> >- f = single
> >
On 2016-09-20 11:27:07 -0400, Ben Greenman wrote:
>Oh! Just found that common lisp used these for types:
>- s = short
>- f = single
>- d = double
>- l = long
I think it's more specifically an R6RS thing. Quoth the standard:
In systems with inexact number objects of varying p
Oh! Just found that common lisp used these for types:
- s = short
- f = single
- d = double
- l = long
http://www.gigamonkeys.com/book/numbers-characters-and-strings.html
Is this still true for Racket?
On Tue, Sep 20, 2016 at 11:25 AM, Ben Greenman
wrote:
> Just confused, is there any reason t
5 matches
Mail list logo