From 3de75ba3f455a512c0cd2d88a8c523238d783a49 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Thu, 8 Apr 2004 18:53:30 +0000 Subject: [PATCH] ICU-3682 os/400 changes X-SVN-Rev: 14903 --- icu4c/source/test/intltest/tsputil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/icu4c/source/test/intltest/tsputil.cpp b/icu4c/source/test/intltest/tsputil.cpp index d6acdd9e489..ef9eb1715e3 100644 --- a/icu4c/source/test/intltest/tsputil.cpp +++ b/icu4c/source/test/intltest/tsputil.cpp @@ -339,7 +339,7 @@ PUtilTest::testZero(void) if(pzero <= nzero != TRUE) { errln("FAIL: 0.0 <= -0.0 returned FALSE, should be TRUE."); } - +#ifndef OS400 /* OS/400 will generate divide by zero exception MCH1214 */ if(uprv_isInfinite(1/pzero) != TRUE) { errln("FAIL: isInfinite(1/0.0) returned FALSE, should be TRUE."); } @@ -355,6 +355,7 @@ PUtilTest::testZero(void) if(uprv_isNegativeInfinity(1/nzero) != TRUE) { errln("FAIL: isNegativeInfinity(1/-0.0) returned FALSE, should be TRUE."); } +#endif } //==============================