mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-22 06:11:31 +03:00
2526c4b59d
Before this, u3v_lily would erroneously accept atoms bigger than 64 bits that, when truncated to 64 bits, were 31-bit numbers. Decided to drop _cv_mole altogether. Another option would be to write a u3r_chub_fit, write _cv_mole in terms of that, and check width in u3v_lily as it currently does. I tried to add a test case, but it seems that tests don't have access to an ivory pill for +scot / +slaw. This would be the test case, more or less: { c3_l lit_l; c3_w big_w[] = {0, 0, 1}; u3_atom big = u3i_words(3, big_w); u3_noun cod = u3dc("scot", c3__ux, big); if ( c3y == u3v_lily(c3__ux, cod, &lit_l) ) { printf("fail\n"); } } (The refcounting was also messed up, possibly from my refactor to use +slaw instead of +slay, but this seems to have been unrelated.) |
||
---|---|---|
.. | ||
arvo | ||
base-dev | ||
bitcoin | ||
btc-wallet | ||
docker-image | ||
ent | ||
garden | ||
garden-dev | ||
grid | ||
herb | ||
hs | ||
interface | ||
landscape | ||
npm | ||
urbit | ||
urcrypt | ||
webterm | ||
symbolic-merge.sh |