|
|
| version 1.2, 2012/05/28 10:30:41 | version 1.6, 2017/02/09 19:54:38 |
|---|---|
| Line 3 | Line 3 |
| ^math:convert[F0000000](16;2) | ^math:convert[F0000000](16;2) |
| ^math:convert[-F0000000](16;2) | ^math:convert[-F0000000](16;2) |
| ^try_catch{ | ^math:convert[F0000000F0000000](16;2) |
| $d(^math:convert[100000000](16;2)) | ^math:convert[-F0000000F0000000](16;2) |
| ^try-catch{ | |
| $d(^math:convert[10000000000000000](16;2)) | |
| } | } |
| $d(2) | $d(2) |
| ^try_catch{ | ^try-catch{ |
| ^d.div(0) | ^d.div(0) |
| } | } |
| ^try_catch{ | ^try-catch{ |
| ^d.mod(0) | ^d.mod(0) |
| } | } |
| $s[011] | |
| test oct support disabled: ^s.int[] ^s.double[] | |
| $s[2] | $s[2] |
| $i(^s.int[]) | $i(^s.int[]) |
| ^try_catch{ | ^try-catch{ |
| ^i.div(0) | ^i.div(0) |
| } | } |
| ^try_catch{ | ^try-catch{ |
| ^i.mod(0) | ^i.mod(0) |
| } | } |
| $s[0x100000000] | $s[0x100000000] |
| $s as int: ^try_catch{ | $s as int: ^try-catch{ |
| ^s.int[] | ^s.int[] |
| } | } |
| $s as double: ^try_catch{ | $s[0x10000000000000000] |
| $s as double: ^try-catch{ | |
| ^s.double[] | ^s.double[] |
| } | } |
| Line 42 $s as int: ^s.int[] | Line 49 $s as int: ^s.int[] |
| $s[-0x80000000] | $s[-0x80000000] |
| $s as int: ^s.int[] | $s as int: ^s.int[] |
| $s[0x80000000] | $s[0xFFFFFFFFFFFFFFFF] |
| $s as double: ^print[^s.double[]] | |
| $s[0x800000000000] | |
| $s as double: ^s.double[] | $s as double: ^s.double[] |
| as int: ^try_catch{ | as int: ^try-catch{ |
| ^s.int[] | ^s.int[] |
| } | } |
| @print[s] | |
| @try_catch[code] | $result[^s.replace[e+0;e+]] |
| ^try{ | |
| $code | |
| }{ | |
| $exception.handled(true) | |
| $result[Exception: $exception.source - $exception.comment] | |
| } |