In search of a module ...
david at cantrell.org.uk
Tue Feb 19 18:34:04 GMT 2008
Do any of you know of a module that implements 2s-complement arithmetic
on fixed-size integers?
I realise that on any sane machine (maybe even on every machine perl
runs on) the underlying signed ints are 2s-complement, but I need to do
2s-complement mathemagics on perl scalars, not C ints.
David Cantrell | London Perl Mongers Deputy Chief Heretic
Anyone who cannot cope with mathematics is not fully human.
At best he is a tolerable subhuman who has learned to wear
shoes, bathe and not make messes in the house.
-- Robert A Heinlein
More information about the london.pm