Home
last modified time | relevance | path

Searched refs:numdiv (Results 1 – 4 of 4) sorted by relevance

/haiku/src/libs/mapm/
H A Dmapmutil.c303 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 Dmapmistr.c62 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 Dmapm_set.c327 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 Dmapm_fpf.c252 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()