gmp_lib_version#

Return the version of libgmp currently loaded into the process.

Synopsis#

my $v = Math::GMP::_gmp_lib_version();
print "running libgmp $v\n";   # e.g. "running libgmp 6.3.0"

What you get back#

A dotted-decimal string like "6.3.0". Feed it to version->parse if you need numeric comparison.

Differences from upstream#

Upstream returns a vstring. This implementation returns a plain string; both compare the same way under version->parse and under string ge / le.