Advertisement
cd62131

BigFloat

Jan 30th, 2014
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.28 KB | None | 0 0
  1. #!/usr/bin/perl
  2. use strict;
  3. use warnings;
  4. use utf8;
  5. use open qw(:encoding(utf8) :std);
  6. use feature 'say';
  7. use Math::BigFloat;
  8. my $one = Math::BigFloat->bone;
  9. my $ten = Math::BigFloat->new(10);
  10. my $sixteen = Math::BigFloat->new(-16);
  11. say $one->bsub($ten->bpow($sixteen));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement