jdk/test/java/lang/Math/HypotTests.java
changeset 10608 7cfca36fc79b
parent 10598 efd29b4b3e67
child 22634 9c18aebe9229
--- a/jdk/test/java/lang/Math/HypotTests.java	Thu Sep 22 12:05:26 2011 +0800
+++ b/jdk/test/java/lang/Math/HypotTests.java	Wed Sep 21 23:22:11 2011 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -156,8 +156,8 @@
                 double pc = Math.scalb(1.0, i);
 
                 pcNeighbors[2] = pc;
-                pcNeighbors[1] = FpUtils.nextDown(pc);
-                pcNeighbors[0] = FpUtils.nextDown(pcNeighbors[1]);
+                pcNeighbors[1] = Math.nextDown(pc);
+                pcNeighbors[0] = Math.nextDown(pcNeighbors[1]);
                 pcNeighbors[3] = Math.nextUp(pc);
                 pcNeighbors[4] = Math.nextUp(pcNeighbors[3]);