An operating function
Go to file
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
arvo Add floating point parsing. 2014-05-30 11:04:49 -04:00
main %gall now added to solid. 2014-05-28 15:06:52 -07:00
spec/nock Ye olde whitespace cleanup 2013-12-08 21:23:03 +00:00
try Merge branch 'newbreach' of github.com:urbit/urbit into newbreach 2014-05-20 10:36:10 -07:00