[Bioperl-l] e-values

Jason Stajich jason at cgt.duhs.duke.edu
Wed May 12 13:13:22 EDT 2004


sure it does.
% perl -w -e '
my $a = 1.6e-190;
my $b = 1.8e-300;
if( $a < $b ) {
 print "$a is less\n"
} else {
 print "$b is less\n"
}'
1.8e-300 is less.

If you are worried about underflow - Math::BigFloat might help.

-jason

On Wed, 12 May 2004, stephan rosecker wrote:

> Hi,
>
> is it possible to compare e-values with perl, bioperl or some module ?
> e.g:
> $a=1.6e-190;
> $b=1.8e-300;
> if (a < b)
> ...
>
> of course this operator dosn't work ... ;-)
>
> regards,
> stephan
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>

--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu


More information about the Bioperl-l mailing list