(a, radix)
| 978 | } |
| 979 | |
| 980 | function bigint_to_string(a, radix) { |
| 981 | var s; |
| 982 | if (radix == 16) { |
| 983 | var s; |
| 984 | if (a < 0) { |
| 985 | a = -a; |
| 986 | s = "-"; |
| 987 | } else { |
| 988 | s = ""; |
| 989 | } |
| 990 | s += "0x" + a.toString(16); |
| 991 | } else { |
| 992 | s = a.toString(); |
| 993 | } |
| 994 | if (eval_mode === "std") |
| 995 | s += "n"; |
| 996 | return s; |
| 997 | } |
| 998 | |
| 999 | function print(a) { |
| 1000 | var stack = []; |