------- Additional Comments From olivier_thomann at ca dot ibm dot com  
2004-11-18 19:26 -------
Sorry, my test case was wrong. Here is the right one:

public class X {

        public static void main(String args[]) {
                System.out.println(3.14f % Float.POSITIVE_INFINITY);
        }
}

I expect the output to be: 3.14, but instead I get NaN.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18550

Reply via email to