pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2008-08-22
2008-08-22 12:36:14 by Mirar (Pontus Hagland) <pike@sort.mirar.org>
adc0e9374373e1ba10c5984038267f600322099c (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
added tests for casting float to string
Rev: src/testsuite.in:1.848
1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
847
2008/08/
17
16
:
23
:
11
mast
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
848
2008/08/
22
12
:
36
:
14
mirar
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
7701:
test_eq([[(float)-1]],[[-1.0]]) test_eq([[(string)1]],[["1"]]) test_eq([[(string)-1]],[["-1"]])
+
test_do(return (string)1e308)
+
test_do(return (string)1e200)
+
test_do(return (string)1e-200)
+
test_do(return (string)1e-307)
test_any([[ array foo=({ 1 }); return (string)sizeof(foo);