strictfp with main method -> apart from public, static, void, - TopicsExpress



          

strictfp with main method -> apart from public, static, void, we can use synchronized and strictfp keywords with main method strictfp: used to obtain reproducible results for floating point computations, actually JVM uses high value precission before truncating the results into 64-bit registers, if the system has 80 or 90 bit regis it would produce different results for the same computation, to get same results in this kind of situations we use strictfp, applicable for method or class(make all methods stictfp).
Posted on: Sat, 26 Oct 2013 16:38:17 +0000

Trending Topics



Recently Viewed Topics




© 2015