If I look at the StrictMath.toRadians() in the NetBeans Javadoc window, the top two lines read java.​lang.​StrictMath public static strictfp double toRadians(double angdeg) That makes sense, since …
Tag: strictfp
When should I use the “strictfp” keyword in java?
I’ve looked up what this does, but does anyone actually have an example of when you would use the strictfp keyword in Java? Has anyone actually found a use for this? Would there be any side-effects of just putting it on all my floating point operations? Answer Strictfp ensures that you get exactly the same results from your floating point