--- parser3/tests/275.html 2012/05/23 20:50:49 1.1
+++ parser3/tests/275.html 2026/01/07 00:32:19 1.8
@@ -3,15 +3,55 @@
^math:convert[F0000000](16;2)
^math:convert[-F0000000](16;2)
-^try_catch{
- $d(^math:convert[10000000000000000](16;2))
+^math:convert[F0000000F0000000](16;2)
+^math:convert[-F0000000F0000000](16;2)
+
+$d(0x30000000F0000) $d
+$d(-0x30000000F0000) $d
+
+^try-catch{
+ $s[0x10000000000000000]
+ $d($s)
+}
+
+$d(2)
+
+^try-catch{
+ ^d.div(0)
+}
+^try-catch{
+ ^d.mod(0)
+}
+
+$s[011]
+test oct support disabled: ^s.int[] ^s.double[]
+
+$s[2]
+$i(^s.int[])
+
+^try-catch{
+ ^i.div(0)
+}
+^try-catch{
+ ^i.mod(0)
}
-@try_catch[code]
-^try{
- $code
-}{
- $exception.handled(true)
- $exception.source
- $exception.comment
+$s[0x10000000000000000]
+$s as double: ^try-catch{
+ ^s.double[]
}
+
+
+$s[0x7FFFFFFF]
+$s as int: ^s.int[]
+
+$s[-0x80000000]
+$s as int: ^s.int[]
+
+$s[0xFFFFFFFFFFFFFFFF]
+$s as double: ^print[^s.double[]]
+$s[0x800000000000]
+$s as double: ^s.double[]
+
+@print[s]
+$result[^s.replace[e+0;e+]]