Sha256: c4b8fb5a708cd291978a4d6297af943066374265a175d090dfe3f2061c655d67
Contents?: true
Size: 178 Bytes
Versions: 10
Compression:
Stored size: 178 Bytes
Contents
define f(a, b) { "add: "; a + b "sub: "; a - b "mul: "; a * b "div: "; a / b /* truncates toward zero */ "mod: "; a % b /* same sign as first operand */ "pow: "; a ^ b }
Version data entries
10 entries across 7 versions & 1 rubygems