Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Help me make a test case for Math::BigFloat

by fizbin (Chaplain)
on Mar 06, 2006 at 19:15 UTC ( [id://534734]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl
    use bignum;
    ...
    
    printf "%3.5g   %3.5g   %3.5g\n",$e,1-$e,(1-"$e");
    
  2. or download this
    use bignum;
    $e = exp(2 ** (-128));
    use Data::Dumper; 
    print Dumper($e);
    print $e,"\n",1-$e,"\n";
    
  3. or download this
    @/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/;
    map{y/X_/\n /;print}map{pop@$_}@/for@/
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://534734]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-23 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found