Sha256: 41d7d7c73169313fbba166c34828d14d42d95c990724b76a23124dc60199091c

Contents?: true

Size: 302 Bytes

Versions: 10

Compression:

Stored size: 302 Bytes

Contents

<syntaxhighlight lang="pl/i">
get list (a, b);
put skip list (a+b);
put skip list (a-b);
put skip list (a*b);
put skip list (trunc(a/b)); /* truncates towards zero.       */
put skip list (mod(a, b));  /* Remainder is always positive. */
put skip list (rem(a, b));  /* Sign can be negative.         */

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
zettacode-0.1.7 files.zettacode/arithmetic.integer/pl-i.txt
zettacode-0.1.6 files.zettacode/arithmetic.integer/pl-i.txt
zettacode-0.1.6 files.zettacode2/arithmetic.integer/pl-i.txt
zettacode-0.1.5 files.zettacode/arithmetic.integer/pl-i.txt
zettacode-0.1.5 files.zettacode2/arithmetic.integer/pl-i.txt
zettacode-0.1.4 files.zettacode/arithmetic.integer/pl-i.txt
zettacode-0.1.4 files.zettacode2/arithmetic.integer/pl-i.txt
zettacode-0.1.3 files.zettacode/arithmetic.integer/pl-i.txt
zettacode-0.1.2 files.zettacode/arithmetic.integer/pl-i.txt
zettacode-0.1.1 zettacode.files/arithmetic.integer/pl-i.txt