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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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  -  [EMAIL PROTECTED]
> http://biojava.org/mailman/listinfo/biojava-l
> 
_______________________________________________
Biojava-l mailing list  -  [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l


Reply via email to