Lines Matching defs:M_APM

3  *  M_APM  -  m_apm.h
60 * change definition of the M_APM structure
183 typedef M_APM_struct *M_APM;
195 extern M_APM MM_Zero;
196 extern M_APM MM_One;
197 extern M_APM MM_Two;
198 extern M_APM MM_Three;
199 extern M_APM MM_Four;
200 extern M_APM MM_Five;
201 extern M_APM MM_Ten;
203 extern M_APM MM_PI;
204 extern M_APM MM_HALF_PI;
205 extern M_APM MM_2_PI;
206 extern M_APM MM_E;
208 extern M_APM MM_LOG_E_BASE_10;
209 extern M_APM MM_LOG_10_BASE_E;
210 extern M_APM MM_LOG_2_BASE_E;
211 extern M_APM MM_LOG_3_BASE_E;
218 extern M_APM m_apm_init(void);
219 extern void m_apm_free(M_APM);
225 extern void m_apm_set_string(M_APM, char *);
226 extern void m_apm_set_double(M_APM, double);
227 extern void m_apm_set_long(M_APM, long);
229 extern void m_apm_to_string(char *, int, M_APM);
230 extern void m_apm_to_fixpt_string(char *, int, M_APM);
231 extern void m_apm_to_fixpt_stringex(char *, int, M_APM, char, char, int);
232 extern char *m_apm_to_fixpt_stringexp(int, M_APM, char, char, int);
233 extern void m_apm_to_integer_string(char *, M_APM);
235 extern void m_apm_absolute_value(M_APM, M_APM);
236 extern void m_apm_negate(M_APM, M_APM);
237 extern void m_apm_copy(M_APM, M_APM);
238 extern void m_apm_round(M_APM, int, M_APM);
239 extern int m_apm_compare(M_APM, M_APM);
240 extern int m_apm_sign(M_APM);
241 extern int m_apm_exponent(M_APM);
242 extern int m_apm_significant_digits(M_APM);
243 extern int m_apm_is_integer(M_APM);
244 extern int m_apm_is_even(M_APM);
245 extern int m_apm_is_odd(M_APM);
247 extern void m_apm_gcd(M_APM, M_APM, M_APM);
248 extern void m_apm_lcm(M_APM, M_APM, M_APM);
250 extern void m_apm_add(M_APM, M_APM, M_APM);
251 extern void m_apm_subtract(M_APM, M_APM, M_APM);
252 extern void m_apm_multiply(M_APM, M_APM, M_APM);
253 extern void m_apm_divide(M_APM, int, M_APM, M_APM);
254 extern void m_apm_integer_divide(M_APM, M_APM, M_APM);
255 extern void m_apm_integer_div_rem(M_APM, M_APM, M_APM, M_APM);
256 extern void m_apm_reciprocal(M_APM, int, M_APM);
257 extern void m_apm_factorial(M_APM, M_APM);
258 extern void m_apm_floor(M_APM, M_APM);
259 extern void m_apm_ceil(M_APM, M_APM);
260 extern void m_apm_get_random(M_APM);
263 extern void m_apm_sqrt(M_APM, int, M_APM);
264 extern void m_apm_cbrt(M_APM, int, M_APM);
265 extern void m_apm_log(M_APM, int, M_APM);
266 extern void m_apm_log10(M_APM, int, M_APM);
267 extern void m_apm_exp(M_APM, int, M_APM);
268 extern void m_apm_pow(M_APM, int, M_APM, M_APM);
269 extern void m_apm_integer_pow(M_APM, int, M_APM, int);
270 extern void m_apm_integer_pow_nr(M_APM, M_APM, int);
272 extern void m_apm_sin_cos(M_APM, M_APM, int, M_APM);
273 extern void m_apm_sin(M_APM, int, M_APM);
274 extern void m_apm_cos(M_APM, int, M_APM);
275 extern void m_apm_tan(M_APM, int, M_APM);
276 extern void m_apm_arcsin(M_APM, int, M_APM);
277 extern void m_apm_arccos(M_APM, int, M_APM);
278 extern void m_apm_arctan(M_APM, int, M_APM);
279 extern void m_apm_arctan2(M_APM, int, M_APM, M_APM);
281 extern void m_apm_sinh(M_APM, int, M_APM);
282 extern void m_apm_cosh(M_APM, int, M_APM);
283 extern void m_apm_tanh(M_APM, int, M_APM);
284 extern void m_apm_arcsinh(M_APM, int, M_APM);
285 extern void m_apm_arccosh(M_APM, int, M_APM);
286 extern void m_apm_arctanh(M_APM, int, M_APM);
308 This class lets you use M_APM's a bit more intuitively with
325 The M_APM structure here is implemented as a reference-
333 M_APM myVal; /* My M_APM structure */
336 void copyFrom(M_APM Nval)
338 M_APM oldVal=myVal;
343 static M_APM makeNew(void)
345 M_APM val=m_apm_init();
349 static void ref(M_APM val)
353 static void unref(M_APM val)
362 M_APM val(void)
371 M_APM oldVal=myVal;
378 /*BAD: C M_APM routines doesn't use "const" where they should--
383 M_APM cval(void) const
385 return (M_APM)myVal;
413 {myVal=(M_APM)m.cval();ref(myVal);}
414 MAPM(M_APM m) /* M_APM constructor (refcount starts at one) */
415 {myVal=(M_APM)m;ref(myVal);}
441 {copyFrom((M_APM)m.cval());return *this;}