in reply to Re: History repeats: 128 bit Math:Bigint numbers in a 64 bit DBI world
in thread History repeats: 128 bit Math:Bigint numbers in a 64 bit DBI world
The largest integer currently available in MySQL is 'bigint' (nothing to do with Math::Bigint) which can store 64 bits. PERL's internal integer type is also 64 bit. Until recently that wasn't even 64 bit clean and suffered overflows (thankfully now fixed). That's why I had to resort to Math::Bigint. My previous code combined two SQL bigint columns to produce one PERL Math::Bigint but that's slow both for the DB and PERL.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: History repeats: 128 bit Math:Bigint numbers in a 64 bit DBI world
by $h4X4_|=73}{ (Monk) on Jul 01, 2016 at 10:51 UTC | |
by RayHunter (Acolyte) on Jul 01, 2016 at 11:13 UTC |