pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2003-02-26
2003-02-26 22:43:24 by Martin Stjernholm <mast@lysator.liu.se>
9262081debaf31adc0c739ef37da633e03f8884b (
6
lines) (+
5
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Ridiculously large exponents should work too.
Rev: src/testsuite.in:1.609
1:
-
test_true([["$Id: testsuite.in,v 1.
608
2003/02/26
07
:
35
:
19
mirar
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
609
2003/02/26
22
:
43
:
24
mast
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
39:
test_eq(16, 0b10000); test_eq(-16, -0b10000);
+
test_true(1e-100000000000000000000000000000000000000000000000000000000000<=1e-10000)
test_true(1e-10000<=1e-1000) test_true(1e-1000<=1e-100) test_true(1e-100<=1e-10)
48:
test_true(1e10<=1e100) test_true(1e100<=1e1000) test_true(1e1000<=1e10000)
+
test_true(1e10000<=1e100000000000000000000000000000000000000000000000000000000000)
test_do([[ // bug 2677
4856:
test_eq("-718046312823", [[ (string)-012345671234567 ]]) test_eq("1125899906842624", [[ (string)0b100000000000000000000000000000000000000000000000000 ]]) test_eq("-1125899906842624", [[ (string)-0b100000000000000000000000000000000000000000000000000 ]])
+
test_eq(500000000 * 10, 5000000000)
// These numbers should be ordinary integers. test_false([[ objectp(-0x80000000) ]])