Skip to content
Adam Bliss edited this page Oct 25, 2013 · 1 revision

Implementation

++  sub                                                 ::  subtract
  ~/  %sub
  |=  [a=@ b=@]
  ~|  %subtract-underflow
  ^-  @
  ?:  =(0 b)
    a
  $(a (dec a), b (dec b))
  ::::::::::::::::::::::::::::::::::::::::::::::::::::::  ::

Comments



Parts of this document are generated automatically. Edits within the comments section will be preserved.

Clone this wiki locally