Math::GMP#

Math::GMP — High-speed arbitrary precision integers

This is the Perl-facing frontend for Peta::FFI::GMP. It:

  1. Triggers Peta::FFI::GMP::register() to load libgmp and wire up all ops

  2. Registers the overloaded operators for the Math::GMP class

  3. Implements Math::GMP::new() with its argument parsing logic

  4. Registers aliases: gcd → bgcd, lcm → blcm, DESTROY → destroy

All arithmetic, comparison, and utility functions are already registered under Math::GMP::* by Peta::FFI::GMP::register(), so we only add the Perl-level glue here.