Cast more idiomatically.

This commit is contained in:
Jared Tobin 2019-03-20 10:16:43 +13:00
parent e1fe53ae54
commit 27fad35eae
No known key found for this signature in database
GPG Key ID: 0E4647D58F8A69E4

View File

@ -3839,11 +3839,10 @@
::
++ fe
|= [r=@ a=@ b=@ prf=$-([j=@ r=@] @) m=@]
^- @
=/ j 1
=/ ell (mod m a)
=/ arr (div m a)
|-
|- ^- @
::
?: (gth j r)
?. =((mod r 2) 0)
@ -3878,7 +3877,6 @@
::
++ fen
|= [r=@ a=@ b=@ prf=$-([j=@ r=@] @) m=@]
^- @
=/ j r
::
=/ ahh
@ -3907,7 +3905,7 @@
ale
ahh
::
|-
|- ^- @
?: (lth j 1)
(add (mul arr a) ell)
=/ f (prf (sub j 1) ell)