2011/10/14 Ankur Sethi <get.me.an...@gmail.com>:
> [...]
> I've been wondering what the postfix hash syntax does. This is what
> happens when I append a # to an integer:
>
>    > 9#
>    90.0
>    > 9##
>    900.0
>    > 9#####
>    900000.0
> [...]

Hello,

if I'm not mistaken, this syntax was introduced by R5RS to indicate
inexact numbers. The '#' character essentially represents a digit that
is not known with certainty.

See, for example,

  
http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_sec_6.2.4

for further reference.

Ciao,
Thomas


-- 
When C++ is your hammer, every problem looks like your thumb.

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to