From cfc943deae1cf42519ef64f871284255f8dc2b1b Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Tue, 13 Nov 2018 14:16:54 +0300 Subject: [PATCH] Fixed unit tests for SunC. --- njs/test/njs_unit_test.c | 2 ++ 1 file changed, 2 insertions(+) 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") }, -- 2.47.3