mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
hoon: updates @p rendering to avoid intermediate right-shifts
This commit is contained in:
parent
934721b6bc
commit
07e17e5895
@ -5917,22 +5917,19 @@
|
||||
?: (lte dyx 1)
|
||||
(weld (trip (tod:po sxz)) rep)
|
||||
=+ dyy=(met 4 sxz)
|
||||
=+ imp=*@
|
||||
=| imp=@ud
|
||||
|- ^- tape
|
||||
?: =(imp dyy)
|
||||
rep
|
||||
%= $
|
||||
sxz (rsh 4 1 sxz)
|
||||
imp +(imp)
|
||||
rep
|
||||
=+ log=(end 4 1 sxz)
|
||||
;: weld
|
||||
(trip (tos:po (rsh 3 1 log)))
|
||||
(trip (tod:po (end 3 1 log)))
|
||||
?:(=((mod imp 4) 0) ?:(=(imp 0) "" "--") "-")
|
||||
rep
|
||||
==
|
||||
==
|
||||
imp +(imp)
|
||||
rep =/ log (cut 4 [imp 1] sxz)
|
||||
;: weld
|
||||
(trip (tos:po (rsh 3 1 log)))
|
||||
(trip (tod:po (end 3 1 log)))
|
||||
?:(=((mod imp 4) 0) ?:(=(imp 0) "" "--") "-")
|
||||
rep
|
||||
== ==
|
||||
::
|
||||
$q
|
||||
=* val q.p.lot
|
||||
|
Loading…
Reference in New Issue
Block a user