Author: jquelin
Date: Tue Jan 6 10:38:21 2009
New Revision: 35062
Added:
trunk/languages/befunge/maths.pir
- copied, changed from r35014, /trunk/languages/befunge/maths.pasm
Log:
maths.pasm moved to pir
Copied: trunk/languages/befunge/maths.pir (from r35014,
/trunk/languages/befunge/maths.pasm)
==============================================================================
--- /trunk/languages/befunge/maths.pasm (original)
+++ trunk/languages/befunge/maths.pir Tue Jan 6 10:38:21 2009
@@ -1,11 +1,14 @@
# $Id$
+.macro_const RANDMAX 65536.0
+
+=pod
+
# Create a pseudo-random number.
# Parrot's stack:
# before: ... max
# after: ... rand
# 0 <= rand < max
-.macro_const RANDMAX 65536.0
MATHS_RAND:
restore I10
mul N0, N0, 5.0
@@ -127,3 +130,4 @@
push P2, I10
branch MOVE_PC
+=cut