Skip to content
Advertisement

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

Advertisement