小编Fed*_*era的帖子

怀疑strictfp和StrictMath

我有一点技术问题,打电话是一样的:

   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关键字是否仅适用于+ - * /方法内使用的基本算术运算?

java math floating-point strictfp

3
推荐指数
1
解决办法
306
查看次数

标签 统计

floating-point ×1

java ×1

math ×1

strictfp ×1