shrub/arvo
Jared Hance faf2e910f4 Add floating point parsing.
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.
2014-05-30 11:04:49 -04:00
..
ames.hoon No printfs. 2014-05-29 12:20:27 -07:00
batz.hoon %gall now added to solid. 2014-05-28 15:06:52 -07:00
clay.hoon Clay refactored to top-level redes. 2014-05-29 19:26:35 -07:00
dill.hoon %gall's vane shell compiles. 2014-05-27 02:47:19 -07:00
eyre.hoon Some gall related fixes. 2014-05-29 15:00:13 -07:00
ford.hoon Various fixes and improvements. 2014-05-28 01:57:00 -07:00
gall.hoon Some gall related fixes. 2014-05-29 15:00:13 -07:00
hoon.hoon Add floating point parsing. 2014-05-30 11:04:49 -04:00
test.hoon Test compilation routines. 2014-01-29 16:16:10 -08:00
zuse.hoon Clay refactored to top-level redes. 2014-05-29 19:26:35 -07:00