strictfp is a keyword in java used for restricting floating-point calculations and ensuring the same result on every platform while performing operations in the floating-point variable.
Floating-point calculations are platform-dependent i.e. different output(floating-point values) is achieved when a class file is run on different platforms(16/32/64 bit processors). To solve these types of issues, strictfp keyword was introduced in JDK 1.2 version by following IEEE 754 standards for floating-point calculations.
The strictfp keyword cannot be applied on abstract methods, variables or constructors.