Home
last modified time | relevance | path

Searched refs:pinf (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtsputil.cpp34 double pinf = uprv_getInfinity();
100 double pinf = uprv_getInfinity(); in testMaxMin() local
109 maxMinTest(pinf, ninf, pinf, TRUE); in testMaxMin()
110 maxMinTest(pinf, ninf, ninf, FALSE); in testMaxMin()
113 maxMinTest(pinf, pzero, pinf, TRUE); in testMaxMin()
114 maxMinTest(pinf, pzero, pzero, FALSE); in testMaxMin()
115 maxMinTest(pinf, nzero, pinf, TRUE); in testMaxMin()
116 maxMinTest(pinf, nzero, nzero, FALSE); in testMaxMin()
125 maxMinTest(pinf, nan, nan, TRUE); in testMaxMin()
126 maxMinTest(pinf, nan, nan, FALSE); in testMaxMin()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-925537.js37 var pinf = Number.POSITIVE_INFINITY, ninf = Number.NEGATIVE_INFINITY; variable
38 assertClose( Math.PI / 4, Math.atan2(pinf, pinf));
39 assertClose(-Math.PI / 4, Math.atan2(ninf, pinf));
40 assertClose( 3 * Math.PI / 4, Math.atan2(pinf, ninf));
/external/libcxx/test/std/utilities/function.objects/unord.hash/
Dfloating.pass.cpp41 std::size_t pinf = h(INFINITY); in test() local
47 assert(t0 != pinf); in test()
52 assert(tp1 != pinf); in test()
56 assert(t1 != pinf); in test()
59 assert(tn1 != pinf); in test()
62 assert(pinf != ninf); in test()
/external/icu/icu4c/source/test/cintltst/
Dputiltst.c356 double pinf = uprv_getInfinity();
371 remainderTest(1.0, pinf, 1.0);
379 remainderTest(pinf, nan, nan);