Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Help me make a test case for Math::BigFloat

by runrig (Abbot)
on Mar 06, 2006 at 21:54 UTC ( [id://534765]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Math::BigFloat;
    
    my $one_minus_one = Math::BigInt->new(1) - Math::BigFloat->new(.9999);
    print "$one_minus_one\n";
    
  2. or download this
    #!perl
    use bignum;
    ...
    
    printf("%3.20g\n", $e);
    print "$e ", 1-$e, "\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-24 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found