Math中ulp的用法?
对于Math中ulp的用法介绍,不知道怎么的看也看不动,还请高手帮我解释一下!多谢!比如为什么
class testMath
{
public static void main(String[] args)
{
double ch4 = Math.ulp(-1.56);
System.out.println(ch4);
}
}
答案为什么会是2.220446049250313E-16呢?
2006-08-19 08:59
2006-08-21 07:03
2009-12-25 20:18