Sha256: e4a82b788c2cf4441f15d699896c6f202364a3b7eb5862dc35b6300a7997beb0
Contents?: true
Size: 333 Bytes
Versions: 10
Compression:
Stored size: 333 Bytes
Contents
(de math (A B) (prinl "Add " (+ A B)) (prinl "Subtract " (- A B)) (prinl "Multiply " (* A B)) (prinl "Divide " (/ A B)) # Trucates towards zero (prinl "Div/rnd " (*/ A B)) # Rounds to next integer (prinl "Modulus " (% A B)) # Sign of the first operand (prinl "Power " (** A B)) )
Version data entries
10 entries across 7 versions & 1 rubygems