Style tweaks
This commit is contained in:
parent
832fec6c43
commit
9668bcbb03
|
@ -14,12 +14,12 @@ For a value `v`, we write `«v»` for the binary encoding of `v`.
|
||||||
|
|
||||||
«#f» = [0xA0]
|
«#f» = [0xA0]
|
||||||
«#t» = [0xA1]
|
«#t» = [0xA1]
|
||||||
«F» when F ∈ Float = [0xA2] ++ binary32(F)
|
«F» = [0xA2] ++ binary32(F) if F ∈ Float
|
||||||
«D» when D ∈ Double = [0xA2] ++ binary64(D)
|
«D» = [0xA2] ++ binary64(D) if D ∈ Double
|
||||||
«x» when x ∈ SignedInteger = [0xA3] ++ intbytes(x)
|
«x» = [0xA3] ++ intbytes(x) if x ∈ SignedInteger
|
||||||
«S» = [0xA4] ++ utf8(S) if S ∈ String
|
«S» = [0xA4] ++ utf8(S) if S ∈ String
|
||||||
[0xA5] ++ S if S ∈ ByteString
|
[0xA5] ++ S if S ∈ ByteString
|
||||||
[0xA6] ++ utf8(S) if S ∈ Symbol
|
[0xA6] ++ utf8(S) if S ∈ Symbol
|
||||||
|
|
||||||
The functions `binary32(F)` and `binary64(D)` yield big-endian 4- and
|
The functions `binary32(F)` and `binary64(D)` yield big-endian 4- and
|
||||||
8-byte IEEE 754 binary representations of `F` and `D`, respectively.
|
8-byte IEEE 754 binary representations of `F` and `D`, respectively.
|
||||||
|
|
Loading…
Reference in New Issue