我有一点技术问题,打电话是一样的:
public static strictfp double myMethod(double phi){
return Math.exp(phi);
}
Run Code Online (Sandbox Code Playgroud)
要么:
public static double myMethod(double phi){
return StrictMath.exp(phi);
}
Run Code Online (Sandbox Code Playgroud)
或者strictfp关键字是否仅适用于+ - * /方法内使用的基本算术运算?