require 5.005_02;
use strict;
use Exporter;
$VERSION = 0.01;
use overload; # inherit overload from BigFloat
# Globals
$round_mode = 'even';
$div_scale = 40;
sub new
{
my $proto = shift;
my $value = shift;
# remember, downgrading may return a BigInt, so don't meddle with class
# bless $self,$class;
return $self;
}
sub import
{
print "MBF import ",join(' ',@_);
my $self = shift;
# we catch the constants, the rest goes go BigFloat
my @a = ();
foreach (@_)
{
push @a, $_ if $_ ne ':constant';
}
# $self->export_to_level(1,$self,@_); # need this ?
}
1;