05d8200d79
gcc/java PR java/25676: * builtins.c (max_builtin): Skip floating point 'max'. (min_builtin): Skip floating point 'min'. (check_for_builtin): Never return NULL_TREE. libjava PR java/25676: * testsuite/libjava.lang/pr25676.out: New file. * testsuite/libjava.lang/pr25676.java: New file. From-SVN: r110599
13 lines
229 B
Java
13 lines
229 B
Java
public class pr25676
|
|
{
|
|
public static double g(double a, double b)
|
|
{
|
|
return Math.min(a, b);
|
|
}
|
|
public static void main(String a[])
|
|
{
|
|
System.out.println (g(0.0, -0.0));
|
|
System.out.println (g(-0.0, 0.0));
|
|
}
|
|
}
|