< prev index next >

test/java/lang/StrictMath/ExpTests.java

Print this page
rev 17324 : 8181759: add explicit @build actions for jdk.test.lib classes in all :tier1 tests
Reviewed-by: duke


   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 8139688
  27  * @key randomness
  28  * @library /test/lib

  29  * @build Tests
  30  * @build FdlibmTranslit
  31  * @build ExpTests
  32  * @run main ExpTests
  33  * @summary Tests specifically for StrictMath.exp
  34  */
  35 
  36 import jdk.test.lib.RandomFactory;
  37 
  38 /**
  39  * The role of this test is to verify that the FDLIBM exp algorithm is
  40  * being used by running golden file style tests on values that may
  41  * vary from one conforming exponential implementation to another.
  42  */
  43 
  44 public class ExpTests {
  45     private ExpTests(){}
  46 
  47     public static void main(String [] argv) {
  48         int failures = 0;




   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 8139688
  27  * @key randomness
  28  * @library /test/lib
  29  * @build jdk.test.lib.RandomFactory
  30  * @build Tests
  31  * @build FdlibmTranslit
  32  * @build ExpTests
  33  * @run main ExpTests
  34  * @summary Tests specifically for StrictMath.exp
  35  */
  36 
  37 import jdk.test.lib.RandomFactory;
  38 
  39 /**
  40  * The role of this test is to verify that the FDLIBM exp algorithm is
  41  * being used by running golden file style tests on values that may
  42  * vary from one conforming exponential implementation to another.
  43  */
  44 
  45 public class ExpTests {
  46     private ExpTests(){}
  47 
  48     public static void main(String [] argv) {
  49         int failures = 0;


< prev index next >