Branch: Tag:

2008-02-25

2008-02-25 14:49:02 by Per Hedbor <ph@opera.com>

Test bignum encoding/decoding. Fails on at least x86_64, most likely other 64-bit OS:es as well.

Rev: src/testsuite.in:1.799

1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.798 2008/01/29 20:47:29 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.799 2008/02/25 14:49:02 per Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])
3852:   test_encode(3.1875)   test_encode(0.0000019073486328125)   test_encode(({})) + // This should work both with and without bignums. + test_encode(({0xffffffff+1, 0xffffffff+2}))   test_encode(([]))   test_encode("foobar")   test_encode((<>))