mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 11:08:45 +03:00
faf2e910f4
Floating point parses for doubles correctly and can be easily implemented for the other types of floats (algorithm is general with respect to the precision of the significand). Some half-baked gates are included, like bey, which is unfortunate. I'm not sure if an equivalent to bey exists somewhere. These won't be used anywhere with actual math, though. Warning: Don't try to print floats. It doesn't work and will crash or something. Its not really implemented, because parsing is actually fairly nontrivial mathwise. Parsing represents the problem x.y -> r2^e, find (r, e) given (x, y) whereas printing is the problem r2^e -> x.y, find (x, y) given (r, e) both of which are annoying to solve. |
||
---|---|---|
.. | ||
ames.hoon | ||
batz.hoon | ||
clay.hoon | ||
dill.hoon | ||
eyre.hoon | ||
ford.hoon | ||
gall.hoon | ||
hoon.hoon | ||
test.hoon | ||
zuse.hoon |