Home
last modified time | relevance | path

Searched refs:mexp (Results 1 – 3 of 3) sorted by relevance

/haiku/src/libs/mapm/
H A Dmapmpwr2.c47 void m_apm_integer_pow_nr(M_APM rr, M_APM aa, int mexp) in m_apm_integer_pow_nr() argument
52 if (mexp == 0) in m_apm_integer_pow_nr()
59 if (mexp < 0) in m_apm_integer_pow_nr()
69 if (mexp == 1) in m_apm_integer_pow_nr()
75 if (mexp == 2) in m_apm_integer_pow_nr()
81 nexp = mexp; in m_apm_integer_pow_nr()
H A Dmapm_log.c149 int mexp, dplaces; in m_apm_log() local
171 mexp = a->m_apm_exponent; in m_apm_log()
173 if (mexp == 0 || mexp == 1) in m_apm_log()
197 if (abs(mexp) <= 3) in m_apm_log()
215 mexp = tmp2->m_apm_exponent - 2; in m_apm_log()
220 m_apm_set_long(tmp1, (long)mexp); in m_apm_log()
H A Dmapmipwr.c49 void m_apm_integer_pow(M_APM rr, int places, M_APM aa, int mexp) in m_apm_integer_pow() argument
54 if (mexp == 0) in m_apm_integer_pow()
61 if (mexp > 0) in m_apm_integer_pow()
64 nexp = mexp; in m_apm_integer_pow()
69 nexp = -mexp; in m_apm_integer_pow()