From: Sergey Kandaurov Date: Tue, 13 Nov 2018 11:16:54 +0000 (+0300) Subject: Fixed unit tests for SunC. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=cfc943deae1cf42519ef64f871284255f8dc2b1b;p=njs.git Fixed unit tests for SunC. --- diff --git a/njs/test/njs_unit_test.c b/njs/test/njs_unit_test.c index f43e962f..e0b81cfe 100644 --- a/njs/test/njs_unit_test.c +++ b/njs/test/njs_unit_test.c @@ -9071,8 +9071,10 @@ static njs_unit_test_t njs_test[] = { nxt_string("Math.sinh(-Infinity)"), nxt_string("-Infinity") }, +#ifndef __SUNPRO_C /* Sun C 5.15: round error */ { nxt_string("Math.sinh(1) - (Math.E - 1/Math.E)/2"), nxt_string("0") }, +#endif { nxt_string("Math.sqrt()"), nxt_string("NaN") },