[java]
/**
@Author:Candid
@description:Math Example program for loglp(double x)
*/
public class Math
{
public static void main(String args[])
{
double x=4; //declare value in double
double y=StrictMath.log1p(x); //assign a value of Math.log1p(x)in y
System.out.println(y); //to print value of y
}
}
[/java]
Core Java Tutorial
Math Example Program for log1p(double x)
August 24, 2012
1 Min Read