27 int width, max_ld_width;
28 unsigned long int n,
q;
34 mpfr_get_z(zz, rpn->mf, MPFR_DEFAULT_RND);
35 mpfr_get_f(ff, rpn->mf, MPFR_DEFAULT_RND);
39 gmp_sprintf(
temp,
"%ZX", zz);
57 mpfr_abs(
t, rpn->mf, MPFR_DEFAULT_RND);
58 mpfr_log10(
t,
t, MPFR_DEFAULT_RND);
59 width = 1 + mpfr_get_si(
t, MPFR_DEFAULT_RND);
63 ptr =
temp + gmp_sprintf(
temp,
"%*.*#Fe", 1, max_ld_width, ff);
80 gmp_sprintf(
temp,
"%Zo", zz);
135 temp = (
char *)_alloca(sz);
char * strchr(const char *String, int ch)
void apply_int_mask(calc_number_t *a)
int rpn_is_zero(calc_number_t *c)
#define WideCharToMultiByte
GLint GLint GLsizei width
GLdouble GLdouble GLdouble GLdouble q
GLboolean GLboolean GLboolean GLboolean a
TCHAR buffer[MAX_CALC_SIZE]
void prepare_rpn_result_2(calc_number_t *rpn, TCHAR *buffer, int size, int base)
void convert_text2number_2(calc_number_t *a)
void convert_real_integer(unsigned int base)