Codementor Events

**strictfp** concept

Published Sep 03, 2019

What is the purpose of strictfp?
Basically floating point calculations are dependent on the platform i.e. different platform have different output of floating calculations, So that is what for which strictfp is used.
Keyword strictfp restricts the floating-point calculations and ensuring same result on every platform. We can use strictfp with class, abstract class(for non abstract method only), interface(for default and static method only) and concrete methods only.

I have wriiten this as per my understanding, if anyone has some more info regarding the same, Please contribute in it, So that entire community get help in the same.

Discover and read more posts from Sumit Tyagi
get started
post commentsBe the first to share your opinion
Show more replies