Home | History | Annotate | Download | only in intltest

Lines Matching refs:TRUE

110     maxMinTest(pinf, ninf, pinf, TRUE);
114 maxMinTest(pinf, pzero, pinf, TRUE);
116 maxMinTest(pinf, nzero, pinf, TRUE);
120 maxMinTest(ninf, pzero, pzero, TRUE);
122 maxMinTest(ninf, nzero, nzero, TRUE);
126 maxMinTest(pinf, nan, nan, TRUE);
128 maxMinTest(ninf, nan, nan, TRUE);
132 maxMinTest(nan, nan, nan, TRUE);
136 maxMinTest(nan, pzero, nan, TRUE);
138 maxMinTest(nan, nzero, nan, TRUE);
142 maxMinTest(pinf, DBL_MAX, pinf, TRUE);
143 maxMinTest(pinf, -DBL_MAX, pinf, TRUE);
144 maxMinTest(pinf, DBL_MIN, pinf, TRUE);
145 maxMinTest(pinf, -DBL_MIN, pinf, TRUE);
152 maxMinTest(ninf, DBL_MAX, DBL_MAX, TRUE);
153 maxMinTest(ninf, -DBL_MAX, -DBL_MAX, TRUE);
154 maxMinTest(ninf, DBL_MIN, DBL_MIN, TRUE);
155 maxMinTest(ninf, -DBL_MIN, -DBL_MIN, TRUE);
162 maxMinTest(pzero, DBL_MAX, DBL_MAX, TRUE);
163 maxMinTest(pzero, -DBL_MAX, pzero, TRUE);
164 maxMinTest(pzero, DBL_MIN, DBL_MIN, TRUE);
165 maxMinTest(pzero, -DBL_MIN, pzero, TRUE);
172 maxMinTest(nzero, DBL_MAX, DBL_MAX, TRUE);
173 maxMinTest(nzero, -DBL_MAX, nzero, TRUE);
174 maxMinTest(nzero, DBL_MIN, DBL_MIN, TRUE);
175 maxMinTest(nzero, -DBL_MIN, nzero, TRUE);
218 // exception of !=, which _always_ returns true
222 logln("NaN tests may show that the expected NaN!=NaN etc. is not true on some");
246 if(uprv_isInfinite(pinf) != TRUE) {
247 errln("FAIL: isInfinite(+Infinity) returned FALSE, should be TRUE.");
250 if(uprv_isPositiveInfinity(pinf) != TRUE) {
251 errln("FAIL: isPositiveInfinity(+Infinity) returned FALSE, should be TRUE.");
255 errln("FAIL: isNegativeInfinity(+Infinity) returned TRUE, should be FALSE.");
258 if(pinf > DBL_MAX != TRUE) {
259 errln("FAIL: +Infinity > DBL_MAX returned FALSE, should be TRUE.");
262 if(pinf > DBL_MIN != TRUE) {
263 errln("FAIL: +Infinity > DBL_MIN returned FALSE, should be TRUE.");
266 if(pinf > ninf != TRUE) {
267 errln("FAIL: +Infinity > -Infinity returned FALSE, should be TRUE.");
270 if(pinf > ten != TRUE) {
271 errln("FAIL: +Infinity > 10.0 returned FALSE, should be TRUE.");
284 if(uprv_isInfinite(ninf) != TRUE) {
285 errln("FAIL: isInfinite(-Infinity) returned FALSE, should be TRUE.");
288 if(uprv_isNegativeInfinity(ninf) != TRUE) {
289 errln("FAIL: isNegativeInfinity(-Infinity) returned FALSE, should be TRUE.");
293 errln("FAIL: isPositiveInfinity(-Infinity) returned TRUE, should be FALSE.");
296 if(ninf < DBL_MAX != TRUE) {
297 errln("FAIL: -Infinity < DBL_MAX returned FALSE, should be TRUE.");
300 if(ninf < DBL_MIN != TRUE) {
301 errln("FAIL: -Infinity < DBL_MIN returned FALSE, should be TRUE.");
304 if(ninf < pinf != TRUE) {
305 errln("FAIL: -Infinity < +Infinity returned FALSE, should be TRUE.");
308 if(ninf < ten != TRUE) {
309 errln("FAIL: -Infinity < 10.0 returned FALSE, should be TRUE.");
316 // -0.0 == 0.0 == TRUE
328 if(pzero == nzero != TRUE) {
329 errln("FAIL: 0.0 == -0.0 returned FALSE, should be TRUE.");
333 errln("FAIL: 0.0 > -0.0 returned TRUE, should be FALSE.");
336 if(pzero >= nzero != TRUE) {
337 errln("FAIL: 0.0 >= -0.0 returned FALSE, should be TRUE.");
341 errln("FAIL: 0.0 < -0.0 returned TRUE, should be FALSE.");
344 if(pzero <= nzero != TRUE) {
345 errln("FAIL: 0.0 <= -0.0 returned FALSE, should be TRUE.");
348 if(uprv_isInfinite(1/pzero) != TRUE) {
349 errln("FAIL: isInfinite(1/0.0) returned FALSE, should be TRUE.");
352 if(uprv_isInfinite(1/nzero) != TRUE) {
353 errln("FAIL: isInfinite(1/-0.0) returned FALSE, should be TRUE.");
356 if(uprv_isPositiveInfinity(1/pzero) != TRUE) {
357 errln("FAIL: isPositiveInfinity(1/0.0) returned FALSE, should be TRUE.");
360 if(uprv_isNegativeInfinity(1/nzero) != TRUE) {
361 errln("FAIL: isNegativeInfinity(1/-0.0) returned FALSE, should be TRUE.");
380 if(uprv_isNaN(pinf) == TRUE) {
381 errln("FAIL: isNaN() returned TRUE for +Infinity.");
384 if(uprv_isNaN(ninf) == TRUE) {
385 errln("FAIL: isNaN() returned TRUE for -Infinity.");
388 if(uprv_isNaN(ten) == TRUE) {
389 errln("FAIL: isNaN() returned TRUE for 10.0.");
404 logln("WARNING: NaN > NaN returned TRUE, should be FALSE");
408 logln("WARNING: NaN > +Infinity returned TRUE, should be FALSE");
412 logln("WARNING: NaN > -Infinity returned TRUE, should be FALSE");
416 logln("WARNING: NaN > 10.0 returned TRUE, should be FALSE");
431 logln("WARNING: NaN < NaN returned TRUE, should be FALSE");
435 logln("WARNING: NaN < +Infinity returned TRUE, should be FALSE");
439 logln("WARNING: NaN < -Infinity returned TRUE, should be FALSE");
443 logln("WARNING: NaN < 10.0 returned TRUE, should be FALSE");
458 logln("WARNING: NaN >= NaN returned TRUE, should be FALSE");
462 logln("WARNING: NaN >= +Infinity returned TRUE, should be FALSE");
466 logln("WARNING: NaN >= -Infinity returned TRUE, should be FALSE");
470 logln("WARNING: NaN >= 10.0 returned TRUE, should be FALSE");
485 logln("WARNING: NaN <= NaN returned TRUE, should be FALSE");
489 logln("WARNING: NaN <= +Infinity returned TRUE, should be FALSE");
493 logln("WARNING: NaN <= -Infinity returned TRUE, should be FALSE");
497 logln("WARNING: NaN <= 10.0 returned TRUE, should be FALSE");
512 logln("WARNING: NaN == NaN returned TRUE, should be FALSE");
516 logln("WARNING: NaN == +Infinity returned TRUE, should be FALSE");
520 logln("WARNING: NaN == -Infinity returned TRUE, should be FALSE");
524 logln("WARNING: NaN == 10.0 returned TRUE, should be FALSE");
538 if(nan != nan != TRUE) {
539 logln("WARNING: NaN != NaN returned FALSE, should be TRUE");
542 if(nan != pinf != TRUE) {
543 logln("WARNING: NaN != +Infinity returned FALSE, should be TRUE");
546 if(nan != ninf != TRUE) {
547 logln("WARNING: NaN != -Infinity returned FALSE, should be TRUE");
550 if(nan != ten != TRUE) {
551 logln("WARNING: NaN != 10.0 returned FALSE, should be TRUE");