Searched refs:numrem (Results 1 – 4 of 4) sorted by relevance
/haiku/src/libs/mapm/ |
H A D | mapmutil.c | 303 UCHAR *ucp, numdiv, numrem, numrem2; in M_apm_normalize() local 319 M_get_div_rem_10((int)atmp->m_apm_data[0], &numdiv, &numrem); in M_apm_normalize() 326 if (numrem == 0) /* both nibbles are 0, we can move full bytes */ in M_apm_normalize() 349 atmp->m_apm_data[i] = 10 * numrem + numdiv; in M_apm_normalize() 350 numrem = numrem2; in M_apm_normalize() 379 M_get_div_rem_10((int)atmp->m_apm_data[index], &numdiv, &numrem); in M_apm_normalize() 381 if (numrem != 0) /* last digit non-zero, all done */ in M_apm_normalize() 407 UCHAR *chp, numdiv, numdiv2, numrem; in M_apm_scale() local 444 M_get_div_rem_10((int)chp[ii], &numdiv2, &numrem); in M_apm_scale() 446 chp[ii + 1] = 10 * numrem + numdiv; in M_apm_scale() [all …]
|
H A D | mapmistr.c | 62 UCHAR *ucp, numdiv, numrem; in m_apm_to_integer_string() local 120 M_get_div_rem_10((int)(*ucp++), &numdiv, &numrem); in m_apm_to_integer_string() 123 *p++ = numrem + '0'; in m_apm_to_integer_string()
|
H A D | mapm_set.c | 327 UCHAR numdiv, numrem; in m_apm_to_string() local 380 numrem = 0; in m_apm_to_string() 383 M_get_div_rem_10((int)ctmp->m_apm_data[index],&numdiv,&numrem); in m_apm_to_string() 398 *cp++ = numrem + '0'; in m_apm_to_string()
|
H A D | mapm_fpf.c | 252 UCHAR *ucp, numdiv, numrem; in m_apm_to_fixpt_string() local 353 M_get_div_rem_10((int)(*ucp++), &numdiv, &numrem); in m_apm_to_fixpt_string() 356 cpw[ii++] = numrem + '0'; in m_apm_to_fixpt_string()
|