Elm Exactly

Rule 141e-enc-float

EncodingEncτ(v)=j\Enc{\tau}(v)=j
sv∈FltfinEncFloat(sv)=sv\frac{\begin{array}{c}\sv\in\effFltFin\end{array}}{\begin{array}{c}\Enc{\tFloat}(\sv)=\sv\end{array}}
(141)
Read it in its chapter·Permanent address: /standard/rules/e-enc-float

Comments

The sign of a zero is not kept: −0-0 encodes as the JSON number 00 (Section 8.1).

TeX source
\defnrule[r:e-enc-float]
  {\sv\in\effFltFin}
  {\Enc{\tFloat}(\sv)=\sv}

Tests (5)

Discussions

Discuss this rule·Search the discussions on GitHub

Discussions are on GitHub; one about this rule has [r:e-enc-float] in its title.

A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.