Language::Befunge::lib::FIXP - Fixed point operations extension
version 5.000
The FIXP fingerprint (0x4649585) allows to do fixed point operations.
Create a new FIXP instance.
Those functions expect their arguments times 10000, and their result follow the same convention (this gives 4 digits of precision). All angles are in degrees.
Push back acos($v) on the stack. See precision convention above.
acos($v)
Push back cos($v) on the stack. See precision convention above.
cos($v)
Push back sin($v) on the stack. See precision convention above.
sin($v)
Push back asin($v) on the stack. See precision convention above.
asin($v)
Push back tan($v) on the stack. See precision convention above.
tan($v)
Push back atan($v) on the stack. See precision convention above.
atan($v)
Push back $a & $b on the stack.
$a & $b
Push back $a | $b on the stack.
$a | $b
Push back $a xor $b on the stack.
$a xor $b
Push back rand($v) on the stack.
rand($v)
Push back 0-$a on the stack (negation of argument).
0-$a
Push back $v * pi on the stack.
$v * pi
Push back sqrt $v on the stack.
sqrt $v
Push back $a ** $b on the stack.
$a ** $b
Push back the sign of $v on the stack.
$v
Push back abs($v) on the stack.
abs($v)
http://www.rcfunge98.com/rcsfingers.html#FIXP.
Jerome Quelin
This software is copyright (c) 2003 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Language::Befunge, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Language::Befunge
CPAN shell
perl -MCPAN -e shell install Language::Befunge
For more information on module installation, please visit the detailed CPAN module installation guide.