11 ms·
First of all the `@` means we are dealing with a an inexact ‹inexact-complexn› ::= ‹inexact-realn› @ ‹inexact-realn› Here is a short guide: #e means
by soegaard 9y ago
First of all the `@` means we are dealing with a an inexact
‹inexact-complexn› ::= ‹inexact-realn› @ ‹inexact-realn›
Here is a short guide:
#e means exact
#x means hexadecimal
So `#e#x+e` means exact 14.
The last `#` in means an unknown number - Racket has chosen to use 0.
Therefore `#e#x+e#` means 1416 = 224.
The `s0` is an exponent mark, which marks the precision of an inexact number.
The `s0` means single-precision (in Scheme s means short - in many implementations
short and single both use single precision).
Thus `#x+e#s0` means `224.0f` and `#e#x+e#s0` means 224.
Now since it is a hexadecimal number the following `+e` means 14.
Therefore `#e#x+e#s0+e` means `22416^14` which is 16140901064495857664.
Now we come the `@`. This means the first part was the real part of a
complex number and what follows is the imaginary part.