We propose three modes of floating point
|
strictfp: Reproducible results as is now default
|
default: Exploit natural hardware (extended exponent in Intel and fused multiply add)
|
associatefp: Allow conventional compiler optimizations
|
with new Intel algorithm, strictfp will be a little more than 2 times slower than default; associatefp gains will be algorithm dependent (regular problems will have greatest gain)
|
Less important are following niceties:
|
indigenous keyword specifies maximum precision format supported by hardware
|
anonymous {float, double, indigenous} specifies floating point format to be used in calculating expressions
-
C used to always use double internally
|