Language::Befunge::lib::CPLI - Complex numbers extension
version 5.000
The CPLI fingerprint (0x43504C49) allows to do complex numbers operations.
Create a new CPLI instance.
($r, $i) = A( $ar, $ai, $br, $bi )
Push ($ar+i*$ai) + ($br+i*$bi) back onto the stack (complex addition)
($r, $i) = D( $ar, $ai, $br, $bi )
Push ($ar+i*$ai) + ($br+i*$bi) back onto the stack (complex division)
($r, $i) = M( $ar, $ai, $br, $bi )
Push ($ar+i*$ai) + ($br+i*$bi) back onto the stack (complex multiplication)
($r, $i) = S( $ar, $ai, $br, $bi )
Push ($ar+i*$ai) + ($br+i*$bi) back onto the stack (complex subtraction)
V( $r, $i )
Push back absolute value of complex $r + i* $i.
$r + i* $i
O( $r, $i )
Output complex number $r + i * $i.
$r + i * $i
http://www.rcfunge98.com/rcsfingers.html#CPLI.
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.