in reply to List::Utils can't find max in array of BigInts
That's actually what I'd expect. List::Utils is full of XS code. XS code almost always gets simple things wrong. It almost never handles mundane Perl magic like overloading, which is what bigint.pm is a simple demonstration of.
List::Util comes with non-XS implementations of at least most of its routines and those should have no problems with bigint values. Or you could just write your own 'max' in about 1 or 2 lines of Perl code.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: List::Utils can't find max in array of BigInts (XS--)
by salva (Canon) on Apr 24, 2013 at 07:32 UTC | |
by tye (Sage) on Apr 24, 2013 at 15:01 UTC | |
by locked_user sundialsvc4 (Abbot) on Apr 24, 2013 at 12:31 UTC | |
|
Re^2: List::Utils can't find max in array of BigInts (XS--)
by mgatto (Novice) on Apr 25, 2013 at 20:09 UTC |