bigrat

bigrat

NAME

bigrat - Transparent BigNumber/BigRational support for Perl

SYNOPSIS

use bigrat;

print 2 + 4.5,"\n";			# BigFloat 6.5
print 1/3 + 1/4,"\n";			# produces 7/12

{
  no bigrat;
  print 1/3,"\n";			# 0.33333...
}

# Impor