If I try to compile the following, I get a warning that strictfp
won't be needed:

package Java1;

import static java.lang.System.*;

public strictfp class Start
{
    public static void main(String[] args)
    {
     out.println("Greetings");

     out.println();

     out.println(0.1f*0.1f);

     out.println(0.1d*0.1d);

     out.println();

     out.println("Goodbye.");
    }
}

Yet if I take the strictfp out, and compile again, I have no warning, yet when 
I run this,
it still possesses the former floating point errors.  Didn't JEP 306 on the 
Oracle site
officially say that floating point errors at default were going to be removed?

Can someone specifically reply to me explaining what is going on here,
and if there is a way for floating point arithmetic in Java to default to JEP 
306
accuracy mode?

Reply via email to