$x->bsqrt(); # calculate square-root
+=head2 broot()
+
+ $x->broot($N);
+
+Calculates the N'th root of C<$x>.
+
=head2 bfac()
$x->bfac(); # factorial of $x (1*2*3*4*..$x)
while (<DATA>)
{
- chomp;
+ $_ =~ s/[\n\r]//g; # remove newlines
$_ =~ s/#.*$//; # remove comments
$_ =~ s/\s+$//; # trailing spaces
next if /^$/; # skip empty lines & comments
while (<DATA>)
{
- chomp;
+ $_ =~ s/[\n\r]//g; # remove newlines
next if /^#/; # skip comments
if (s/^&//)
{
my ($func,@args,$ans,$rc,$class,$try);
while (<DATA>)
{
- chomp;
+ $_ =~ s/[\n\r]//g; # remove newlines
next if /^#/; # skip comments
if (s/^&//)
{
my $CALC = Math::BigInt->config()->{lib};
while (<DATA>)
{
- chomp;
+ $_ =~ s/[\n\r]//g; # remove newlines
next if /^\s*(#|$)/; # skip comments and empty lines
if (s/^&//)
{
while (<DATA>)
{
- chomp;
+ $_ =~ s/[\n\r]//g; # remove newlines
next if /^#/; # skip comments
if (s/^&//)
{