···77--------
88Java has [IEEE 754](/formats/fp/) single and double precision types supported by keywords:
99 float f = 0.1f; // 32 bit float, note f suffix
1010- double d = 0.1; // 64 bit float, suffix optional
1010+ double d = 0.1d; // 64 bit float, suffix optional
1111+The `strictfp` keyword on classes, interfaces and methods forces all intermediate results of floating-point calculations to be IEEE 754 values as well, guaranteeing identical results on all platforms. Without that keyword, implementations can use an extended exponent range where available, resulting in more precise results and faster execution on many common CPUs.
11121213Decimal Types
1314-------------
···35363637Resources
3738---------
3838-[Java Language Specification](http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html)
3939-[Java Standard API](http://java.sun.com/javase/6/docs/api/)
3939+* [Java Language Specification](http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html)
4040+* [Java Standard API](http://java.sun.com/javase/6/docs/api/)