## 4.1.3 Numbers
TBoS p.48-49, SD
Numbers in Shen are positive, negative or zero and either whole or floating point. The negative number -3 is just
written '-3'. Cancellation is used so that --3 is read as 3. Integer numbers are treated as a subclass of floating points
so that 1 = 1.0 is true.
After Shen version 2.0 e notation was introduced 6.0221418e23 is equivalent
to 6.0221418x10^{23}
In Shen (- 3) is actually an application of two place subtraction to 3 and produces, not a number, but a closure.
The exact syntax for numbers is given in the SD link to this section. |