Scroll to navigation

Math::Base::Convert::Shortcuts(3) User Contributed Perl Documentation Math::Base::Convert::Shortcuts(3)

NAME

Math::Base::Convert::Shortcuts - methods for converting powers of 2 bases

DESCRIPTION

This module contains two primary methods that convert bases that are exact powers of 2 to and from base 2^32 faster than can be done by pure perl math.

  • $bc->useFROMbaseShortcuts

    This method converts FROM an input base number to a long n*32 bit register

  • $output = $bc->useTObaseShortcuts;

    This method converts an n*32 bit registers TO an output base number.

  • EXPORTS

    None

AUTHOR

Michael Robinton, michael@bizsystems.com

COPYRIGHT

Copyright 2012-2015, Michael Robinton

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

2024-03-04 perl v5.40.0