Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: d5c4641fc2
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (34 sloc) 0.525 kB
# $Id$
=head1
math.pir -- simple math functions
=cut
.namespace []
.sub 'sum'
.param pmc a
.param pmc b
$P0 = add a, b
.return ($P0)
.end
.sub 'sub'
.param pmc a
.param pmc b
$P0 = sub a, b
.return ($P0)
.end
.sub 'mul'
.param pmc a
.param pmc b
$P0 = mul a, b
.return ($P0)
.end
.sub 'div'
.param pmc a
.param pmc b
$P0 = div a, b
.return ($P0)
.end
# Local Variables:
# mode: pir
# fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:
Jump to Line
Something went wrong with that request. Please try again.