MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / bigint_to_string

Function bigint_to_string

examples/js/repl.js:980–997  ·  view source on GitHub ↗
(a, radix)

Source from the content-addressed store, hash-verified

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 = [];

Callers 1

print_recFunction · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected