Welcome! Log In Create A New Profile

Advanced

[njs] Fixed unit tests for SunC.

Sergey Kandaurov
November 13, 2018 06:18AM
details: http://hg.nginx.org/njs/rev/19a9743c00c8
branches:
changeset: 650:19a9743c00c8
user: Sergey Kandaurov <pluknet@nginx.com>
date: Tue Nov 13 14:16:54 2018 +0300
description:
Fixed unit tests for SunC.

diffstat:

njs/test/njs_unit_test.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 81d029f4139c -r 19a9743c00c8 njs/test/njs_unit_test.c
--- a/njs/test/njs_unit_test.c Mon Nov 12 20:08:36 2018 +0300
+++ b/njs/test/njs_unit_test.c Tue Nov 13 14:16:54 2018 +0300
@@ -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") },
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed unit tests for SunC.

Sergey Kandaurov 265 November 13, 2018 06:18AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 309
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready