|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Can't get GCD to work in Bit::Vector moduleby tperdue (Sexton) |
| on Jun 18, 2004 at 10:33 UTC ( [id://367958]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.tperdue has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to obtain the GCD from 2 codewords using the GCD function in the Bit::Vector module. I have assigned 2
vectors as follows:
$a and $b are both 64 bit codewords I entered as binary.
When printed $veca is Bit::Vector=SCALAR(0x224ef0) I try to get the GCD by using the following code: $vecgcd->GCD($veca,$vecb);
I get the error: Edited by Chady -- some formatting and code tags.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||