Commit Graph

278 Commits

Author SHA1 Message Date
C. Guy Yarvin
9217a16707 Merge branch 'master' of github.com:urbit/urbit
Conflicts:
	urb/urbit.pill
2014-06-03 11:25:12 -07:00
Jared Hance
4dd161d76c Add comparison gates for floating points. 2014-06-03 14:15:22 -04:00
C. Guy Yarvin
96eabe0316 Merge branch 'master' of github.com:urbit/urbit 2014-06-03 10:46:02 -07:00
Jared Hance
6a391f9edb Merge branch 'newbreach'
Conflicts:
	urb/urbit.pill
2014-06-03 13:38:33 -04:00
Jared Hance
0ed3dc73a7 Add primitives for printing floating point values. 2014-06-03 13:09:40 -04:00
Jared Hance
4530b15d94 Add div:rd, div:fl, and jet.
Also fix rnd:fl (by fixing rne:fl).
2014-06-03 11:41:25 -04:00
Jared Hance
a1d5bfcb08 Give atoms more specific odors. 2014-06-03 10:07:08 -04:00
C. Guy Yarvin
0df8aeeb67 Some vane cleanups, etc. 2014-06-02 22:07:32 -07:00
Jared Hance
531d4eb0ad Signed exponent for floating points.
Yay, now parsing something like 0.x is possible in the parser.
(Previously fails due to underflow). 0.0x is still impossible due to
parser limitations, so use (div:rd .~0.x .~10) when div is actually
implemented).
2014-06-02 16:09:00 -04:00
Jared Hance
3fafc59b50 Jet sub:rd. 2014-06-02 15:13:58 -04:00
Jared Hance
c8b6830aca Kill stray newline. 2014-06-02 14:58:48 -04:00
Jared Hance
24bf5b7e5b Add sub:rd and sub:fl.
Also a fix in exp:rd.
2014-06-02 14:54:47 -04:00
Luke Patmore
0930a9eb77 Added jet linkage for co_emco, co_oxco, and co_roco. Added templates for co jets. 2014-06-02 11:48:16 -07:00
Jared Hance
5e22eccb3b Jet add:rd.
Also fix some rounding in add:fl that was found through jet test mode.
2014-06-02 12:43:26 -04:00
Jared Hance
2e1a4c0f2e Implement add:fl and add:rd. 2014-06-02 11:51:08 -04:00
Jared Hance
652db79338 Merge branch 'newbreach' into ieee
Conflicts:
	urb/urbit.pill
2014-06-02 11:07:57 -04:00
Jared Hance
840cca444a Jet mul:rd.
Running in test mode for now.
2014-06-02 11:03:48 -04:00
John Dulin
6cb0150ae1 Merge branch 'master' of https://github.com/urbit/urbit 2014-06-01 18:31:41 -07:00
John Dulin
c037d463cc Commented set, map, jar, jug, queue arms. Added jet tag to ++ fac 2014-06-01 18:31:32 -07:00
C. Guy Yarvin
20c3964c14 Merge branch 'master' of github.com:urbit/urbit 2014-06-01 14:07:38 -07:00
C. Guy Yarvin
ea54293ee2 Improved eyre/gall integration. 2014-06-01 14:07:13 -07:00
johncburnham
e080ee108d added some comments 2014-05-31 18:41:27 -07:00
C. Guy Yarvin
4db07a816d More pre-breach fixes. 2014-05-31 13:22:49 -07:00
C. Guy Yarvin
32295555c5 Scry interface fixes. 2014-05-31 12:40:02 -07:00
C. Guy Yarvin
733ff7f0c6 Fill in some stubs in %ford. 2014-05-31 05:52:06 -07:00
~hatteb-mitlyd
733e1b0a8f Merge remote-tracking branch 'origin/newbreach'
Update protocol for breach.

Conflicts:
	f/trac.c
	urb/urbit.pill
	urb/zod/arvo/zuse.hoon
	v/raft.c
2014-05-30 17:56:12 -07:00
Gavin Whelan
cded6c902d Merge various changes 2014-05-30 16:13:44 -07:00
Gavin Whelan
6177ebbb26 Merge and minor merge changes 2014-05-30 15:59:58 -07:00
C. Guy Yarvin
dc4e9a41ca Changed some interfaces. 2014-05-30 15:51:31 -07:00
C. Guy Yarvin
a087b13417 Unbreak :reset. 2014-05-30 15:04:20 -07:00
C. Guy Yarvin
7c1cad4672 Revert "Remove unused arms from arvo external core."
This reverts commit b754c2aeadbc8028a2e7989066dbbf08d2f293ef.
2014-05-30 14:51:28 -07:00
C. Guy Yarvin
eb2f4a560b Remove unused arms from arvo external core. 2014-05-30 14:45:41 -07:00
C. Guy Yarvin
6455b41363 Slow things commented out. 2014-05-30 13:57:49 -07:00
johncburnham
6aac6caf9c added glyph mnemonics 2014-05-30 13:52:35 -07:00
Jared Hance
86b871e395 Fix multiply. Seems to work.
Probably won't test too much more. It will be easier to test once there
is a jet.
2014-05-30 15:34:43 -04:00
Jared Hance
33f7d69414 Fix rounding.
Use "round to closest" mode, w/ rounding to even when same distance
(which is a rare case anyway)
2014-05-30 14:25:12 -04:00
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
Gavin Whelan
f8c2775bde Merge 2014-05-29 12:29:55 -07:00
C. Guy Yarvin
61988d932e Clean build without debug printfs. 2014-05-29 12:06:08 -07:00
Gavin Whelan
fa518297f1 Merging 2014-05-29 11:52:49 -07:00
C. Guy Yarvin
b18c327392 Some optimizations. 2014-05-29 11:46:43 -07:00
C. Guy Yarvin
2e5acd50da More good stuff. 2014-05-28 16:43:30 -07:00
Gavin Whelan
9913150cf7 Lore to crash on 0 2014-05-28 13:19:49 -07:00
Gavin Whelan
0082afad57 Merge & new pill 2014-05-28 12:37:04 -07:00
Gavin Whelan
a242cea2b2 Merging merge 2014-05-28 12:26:16 -07:00
C. Guy Yarvin
907f7ff112 Various fixes and improvements. 2014-05-28 01:57:00 -07:00
C. Guy Yarvin
ff310aeca1 Merge branch 'newbreach' of github.com:urbit/urbit into newbreach
Conflicts:
	urb/urbit.pill
2014-05-27 22:45:37 -07:00
C. Guy Yarvin
3d5d6d4b0b Various fixes and improvements. 2014-05-27 22:44:18 -07:00
Luke Patmore
60b3fe1b97 Added interpreter hint for scag jet. 2014-05-27 10:22:21 -07:00
C. Guy Yarvin
26c6c5868b %gall's vane shell compiles. 2014-05-27 02:47:19 -07:00