Searched refs:numdiv (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() 321 if (numdiv >= 1) /* number is normalized, done here */ in M_apm_normalize() 348 M_get_div_rem_10((int)atmp->m_apm_data[i+1], &numdiv, &numrem2); in M_apm_normalize() 349 atmp->m_apm_data[i] = 10 * numrem + numdiv; in M_apm_normalize() 379 M_get_div_rem_10((int)atmp->m_apm_data[index], &numdiv, &numrem); in M_apm_normalize() 386 if (numdiv != 0) in M_apm_normalize() 407 UCHAR *chp, numdiv, numdiv2, numrem; in M_apm_scale() local 440 numdiv = 0; 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() 122 *p++ = numdiv + '0'; in m_apm_to_integer_string()
|
H A D | mapm_set.c | 327 UCHAR numdiv, numrem; in m_apm_to_string() local 379 numdiv = 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() 387 *cp++ = numdiv + '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() 355 cpw[ii++] = numdiv + '0'; in m_apm_to_fixpt_string()
|