Home | History | Annotate | Download | only in benchmarks

Lines Matching full:radix

491 function sc_number2jsstring(x, radix) {
492 if (radix)
493 return x.toString(radix);
498 function sc_jsstring2number(s, radix) {
501 if (radix) {
502 var t = parseInt(s, radix);
506 var allowedChars = "01234567890abcdefghijklmnopqrstuvwxyz".substring(0, radix+1);
3186 function sc_number2symbol(x, radix) {
3187 return sc_SYMBOL_PREFIX + sc_number2jsstring(x, radix);
3194 function sc_symbol2number(s, radix) {
3195 return sc_jsstring2number(s.slice(1), radix);
3203 ;; peephole will only apply if no radix is given.
3205 function sc_string2integer(s, radix) {
3206 if (!radix) return +s;
3207 return parseInt(s, radix);