【发布时间】:2023-05-12 17:55:02
【问题描述】:
我有一点技术问题,打电话是一样的吗:
public static strictfp double myMethod(double phi){
return Math.exp(phi);
}
或:
public static double myMethod(double phi){
return StrictMath.exp(phi);
}
或者strictfp 关键字是否只适用于方法内部使用的基本算术运算+ - * /?
【问题讨论】:
标签: java math floating-point strictfp