Home
last modified time | relevance | path

Searched refs:num_base (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/lib/efcode/engine/
H A Dprint.c72 b = a % env->num_base; in pic_unsigned()
73 TOS = (fstack_t) (a / env->num_base); in pic_unsigned()
108 if (env->num_base == 10 && neg) { in format_number()
128 if (env->num_base == 10 && TOS < 0) { in convert_num()
143 if (env->num_base == 10 && TOS < 0) { in do_dot_r()
176 base = env->num_base; in do_dot_d()
177 env->num_base = 10; in do_dot_d()
179 env->num_base = base; in do_dot_d()
188 base = env->num_base; in do_dot_x()
189 env->num_base = 16; in do_dot_x()
[all …]
H A Dinteractive.c243 obase = env->num_base; in temp_base()
244 env->num_base = base; in temp_base()
247 env->num_base = obase; in temp_base()
271 env->num_base = 0x10; in do_hex()
277 env->num_base = 10; in do_decimal()
283 env->num_base = 2; in do_binary()
H A Dinit.c118 env->num_base = 0x10; in _init()
H A Dforth.c1025 PUSH(DS, (fstack_t)&env->num_base); in base()
1041 is_digit(char digit, int num_base, fstack_t *dptr) in is_digit() argument
1046 if (num_base < 10) { in is_digit()
1047 base = '0' + (num_base-1); in is_digit()
1049 base = 'a' + (num_base - 10); in is_digit()
1055 ((digit > '9') && (digit < 'a') && (num_base > 10))) in is_digit()
1089 value *= env->num_base; in dollar_number()
1090 error = is_digit(*buf++, env->num_base, &digit); in dollar_number()
/titanic_50/usr/src/lib/efcode/include/fcode/
H A Dengine.h186 variable_t num_base; /* current base */ member