[master] 20a88a86d Use only RFC8941 compliant numbers.
Poul-Henning Kamp
phk at FreeBSD.org
Fri May 21 08:08:06 UTC 2021
commit 20a88a86dc680a89ee159ea6b1bd30c0baeb0dfe
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri May 21 07:58:17 2021 +0000
Use only RFC8941 compliant numbers.
diff --git a/bin/varnishtest/tests/m00016.vtc b/bin/varnishtest/tests/m00016.vtc
index 201682eb7..04b58f236 100644
--- a/bin/varnishtest/tests/m00016.vtc
+++ b/bin/varnishtest/tests/m00016.vtc
@@ -22,9 +22,7 @@ varnish v1 -vcl+backend {
set resp.http.x-xyzzy = std.integer(
std.real(req.http.foo, 2.0), 2);
- # Representation of 9e99, which is larger than what fits in the
- # 128bit integers on $exotic_platform.
- set resp.http.x-int-fallback = std.real2integer(9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.000, 2);
+ set resp.http.x-int-fallback = std.real2integer(123456789012.345 * 1000.0 * 10, 2);
}
} -start
More information about the varnish-commit
mailing list