gmp_lib_version#

Return the version of libgmp currently loaded into the process.

תקציר#

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

מה מוחזר#

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

הבדלים מן ה-upstream#

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