[Biojava-l] help

Hiroyuki Hashimoto hirohash@genes.nig.ac.jp
Mon, 6 Jan 2003 10:48:10 +0900


Hi suyee;

'log(double)' is static method.
The below example...,

int g;
int min;

g = (int)(min + Math.log((double)min));
                ^^^^^

that's OK??

Hiroyuki;

----- Original Message ----- 
From: "suyee" <leesuyee@yahoo.com>
To: <biojava-l@biojava.org>
Sent: Sunday, December 29, 2002 2:36 PM
Subject: [Biojava-l] help


> can anyone help me in this..
> 
> may i know how to use "log" in Java. 
> For example, this is the part that i need to use log algorithm: 
>  
>      g = (min + log((double)min)) ;
> 
> thanks
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l@biojava.org
> http://biojava.org/mailman/listinfo/biojava-l
>