+1 vote
in JAVA by
What is the purpose of the strictfp keyword?

1 Answer

0 votes
by

Java strictfp keyword ensures that you will get the same result on every platform if you perform operations in the floating-point variable. The precision may differ from platform to platform that is why java programming language has provided the strictfp keyword so that you get the same result on every platform. So, now you have better control over the floating-point arithmetic.

Related questions

0 votes
asked Jan 24, 2021 in JAVA by rajeshsharma
+1 vote
asked May 6, 2021 in JAVA by SakshiSharma
...