NAME
Language::Befunge::IP::lib::BASE - Non-standard math bases extension
DESCRIPTION
The BASE fingerprint (0x42415345) allows numbers to be output-ed in whatever base you want. Note that bases are limited to base 36 maximum for practical reasons (missing chars to represent high numbers)
FUNCTIONS
new
Create a new BASE instance.
Output
- B( $n )
-
Output top of stack in binary.
- H( $n )
-
Output top of stack in hexa.
- N( $n, $b )
-
Output
$nin base$b. - O( $n )
-
Output top of stack in octal.
Input
SEE ALSO
Language::Befunge, http://www.rcfunge98.com/rcsfingers.html#BASE.
AUTHOR
Jerome Quelin, <jquelin@cpan.org>
COPYRIGHT & LICENSE
Copyright (c) 2001-2009 Jerome Quelin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.