• Home
  • Raw
  • Download

Lines Matching refs:friend

240     friend const mpreal operator-(const unsigned long int b, const mpreal& a);
241 friend const mpreal operator-(const unsigned int b, const mpreal& a);
242 friend const mpreal operator-(const long int b, const mpreal& a);
243 friend const mpreal operator-(const int b, const mpreal& a);
244 friend const mpreal operator-(const double b, const mpreal& a);
269 friend const mpreal operator/(const unsigned long int b, const mpreal& a);
270 friend const mpreal operator/(const unsigned int b, const mpreal& a);
271 friend const mpreal operator/(const long int b, const mpreal& a);
272 friend const mpreal operator/(const int b, const mpreal& a);
273 friend const mpreal operator/(const double b, const mpreal& a);
326 friend const mpreal sqr (const mpreal& v, mp_rnd_t rnd_mode);
327 friend const mpreal sqrt(const mpreal& v, mp_rnd_t rnd_mode);
328 friend const mpreal sqrt(const unsigned long int v, mp_rnd_t rnd_mode);
329 friend const mpreal cbrt(const mpreal& v, mp_rnd_t rnd_mode);
330 friend const mpreal root(const mpreal& v, unsigned long int k, mp_rnd_t rnd_mode);
331 friend const mpreal pow (const mpreal& a, const mpreal& b, mp_rnd_t rnd_mode);
332 friend const mpreal pow (const mpreal& a, const mpz_t b, mp_rnd_t rnd_mode);
333 friend const mpreal pow (const mpreal& a, const unsigned long int b, mp_rnd_t rnd_mode);
334 friend const mpreal pow (const mpreal& a, const long int b, mp_rnd_t rnd_mode);
335 friend const mpreal pow (const unsigned long int a, const mpreal& b, mp_rnd_t rnd_mode);
336friend const mpreal pow (const unsigned long int a, const unsigned long int b, mp_rnd_t rnd_mode);
337 friend const mpreal fabs(const mpreal& v, mp_rnd_t rnd_mode);
339 friend const mpreal abs(const mpreal& v, mp_rnd_t rnd_mode);
340 friend const mpreal dim(const mpreal& a, const mpreal& b, mp_rnd_t rnd_mode);
341 friend inline const mpreal mul_2ui(const mpreal& v, unsigned long int k, mp_rnd_t rnd_mode);
342 friend inline const mpreal mul_2si(const mpreal& v, long int k, mp_rnd_t rnd_mode);
343 friend inline const mpreal div_2ui(const mpreal& v, unsigned long int k, mp_rnd_t rnd_mode);
344 friend inline const mpreal div_2si(const mpreal& v, long int k, mp_rnd_t rnd_mode);
345 friend int cmpabs(const mpreal& a,const mpreal& b);
347 friend const mpreal log (const mpreal& v, mp_rnd_t rnd_mode);
348 friend const mpreal log2 (const mpreal& v, mp_rnd_t rnd_mode);
349 friend const mpreal logb (const mpreal& v, mp_rnd_t rnd_mode);
350 friend const mpreal log10(const mpreal& v, mp_rnd_t rnd_mode);
351 friend const mpreal exp (const mpreal& v, mp_rnd_t rnd_mode);
352 friend const mpreal exp2 (const mpreal& v, mp_rnd_t rnd_mode);
353 friend const mpreal exp10(const mpreal& v, mp_rnd_t rnd_mode);
354 friend const mpreal log1p(const mpreal& v, mp_rnd_t rnd_mode);
355 friend const mpreal expm1(const mpreal& v, mp_rnd_t rnd_mode);
357 friend const mpreal cos(const mpreal& v, mp_rnd_t rnd_mode);
358 friend const mpreal sin(const mpreal& v, mp_rnd_t rnd_mode);
359 friend const mpreal tan(const mpreal& v, mp_rnd_t rnd_mode);
360 friend const mpreal sec(const mpreal& v, mp_rnd_t rnd_mode);
361 friend const mpreal csc(const mpreal& v, mp_rnd_t rnd_mode);
362 friend const mpreal cot(const mpreal& v, mp_rnd_t rnd_mode);
363 friend int sin_cos(mpreal& s, mpreal& c, const mpreal& v, mp_rnd_t rnd_mode);
365 friend const mpreal acos (const mpreal& v, mp_rnd_t rnd_mode);
366 friend const mpreal asin (const mpreal& v, mp_rnd_t rnd_mode);
367 friend const mpreal atan (const mpreal& v, mp_rnd_t rnd_mode);
368 friend const mpreal atan2 (const mpreal& y, const mpreal& x, mp_rnd_t rnd_mode);
369 friend const mpreal acot (const mpreal& v, mp_rnd_t rnd_mode);
370 friend const mpreal asec (const mpreal& v, mp_rnd_t rnd_mode);
371 friend const mpreal acsc (const mpreal& v, mp_rnd_t rnd_mode);
373 friend const mpreal cosh (const mpreal& v, mp_rnd_t rnd_mode);
374 friend const mpreal sinh (const mpreal& v, mp_rnd_t rnd_mode);
375 friend const mpreal tanh (const mpreal& v, mp_rnd_t rnd_mode);
376 friend const mpreal sech (const mpreal& v, mp_rnd_t rnd_mode);
377 friend const mpreal csch (const mpreal& v, mp_rnd_t rnd_mode);
378 friend const mpreal coth (const mpreal& v, mp_rnd_t rnd_mode);
379 friend const mpreal acosh (const mpreal& v, mp_rnd_t rnd_mode);
380 friend const mpreal asinh (const mpreal& v, mp_rnd_t rnd_mode);
381 friend const mpreal atanh (const mpreal& v, mp_rnd_t rnd_mode);
382 friend const mpreal acoth (const mpreal& v, mp_rnd_t rnd_mode);
383 friend const mpreal asech (const mpreal& v, mp_rnd_t rnd_mode);
384 friend const mpreal acsch (const mpreal& v, mp_rnd_t rnd_mode);
386 friend const mpreal hypot (const mpreal& x, const mpreal& y, mp_rnd_t rnd_mode);
388 friend const mpreal fac_ui (unsigned long int v, mp_prec_t prec, mp_rnd_t rnd_mode);
389 friend const mpreal eint (const mpreal& v, mp_rnd_t rnd_mode);
391 friend const mpreal gamma (const mpreal& v, mp_rnd_t rnd_mode);
392 friend const mpreal tgamma (const mpreal& v, mp_rnd_t rnd_mode);
393 friend const mpreal lngamma (const mpreal& v, mp_rnd_t rnd_mode);
394 friend const mpreal lgamma (const mpreal& v, int *signp, mp_rnd_t rnd_mode);
395 friend const mpreal zeta (const mpreal& v, mp_rnd_t rnd_mode);
396 friend const mpreal erf (const mpreal& v, mp_rnd_t rnd_mode);
397 friend const mpreal erfc (const mpreal& v, mp_rnd_t rnd_mode);
398 friend const mpreal besselj0 (const mpreal& v, mp_rnd_t rnd_mode);
399 friend const mpreal besselj1 (const mpreal& v, mp_rnd_t rnd_mode);
400 friend const mpreal besseljn (long n, const mpreal& v, mp_rnd_t rnd_mode);
401 friend const mpreal bessely0 (const mpreal& v, mp_rnd_t rnd_mode);
402 friend const mpreal bessely1 (const mpreal& v, mp_rnd_t rnd_mode);
403 friend const mpreal besselyn (long n, const mpreal& v, mp_rnd_t rnd_mode);
404friend const mpreal fma (const mpreal& v1, const mpreal& v2, const mpreal& v3, mp_rnd_t rnd_m…
405friend const mpreal fms (const mpreal& v1, const mpreal& v2, const mpreal& v3, mp_rnd_t rnd_m…
406 friend const mpreal agm (const mpreal& v1, const mpreal& v2, mp_rnd_t rnd_mode);
407friend const mpreal sum (const mpreal tab[], const unsigned long int n, int& status, mp_rnd_t…
408 friend int sgn(const mpreal& v); // returns -1 or +1
412 friend int sinh_cosh (mpreal& s, mpreal& c, const mpreal& v, mp_rnd_t rnd_mode);
413 friend const mpreal li2 (const mpreal& v, mp_rnd_t rnd_mode);
414 friend const mpreal fmod (const mpreal& x, const mpreal& y, mp_rnd_t rnd_mode);
415 friend const mpreal rec_sqrt (const mpreal& v, mp_rnd_t rnd_mode);
418friend const mpreal rem (const mpreal& x, const mpreal& y, mp_rnd_t rnd_mode); // Remainder after …
419friend const mpreal mod (const mpreal& x, const mpreal& y, mp_rnd_t rnd_mode); // Modulus after di…
423 friend const mpreal digamma (const mpreal& v, mp_rnd_t rnd_mode);
424 friend const mpreal ai (const mpreal& v, mp_rnd_t rnd_mode);
425friend const mpreal urandom (gmp_randstate_t& state, mp_rnd_t rnd_mode); // use gmp_randinit_d…
429friend const mpreal grandom (gmp_randstate_t& state, mp_rnd_t rnd_mode); // use gmp_randinit_d…
430 friend const mpreal grandom (unsigned int seed);
437 friend const mpreal random(unsigned int seed);
441 friend const mpreal modf(const mpreal& v, mpreal& n);
445 friend const mpreal const_log2 (mp_prec_t prec, mp_rnd_t rnd_mode);
446 friend const mpreal const_pi (mp_prec_t prec, mp_rnd_t rnd_mode);
447 friend const mpreal const_euler (mp_prec_t prec, mp_rnd_t rnd_mode);
448 friend const mpreal const_catalan (mp_prec_t prec, mp_rnd_t rnd_mode);
451 friend const mpreal const_infinity(int sign, mp_prec_t prec);
454 friend std::ostream& operator<<(std::ostream& os, const mpreal& v);
455 friend std::istream& operator>>(std::istream& is, mpreal& v);
458 friend const mpreal rint (const mpreal& v, mp_rnd_t rnd_mode);
459 friend const mpreal ceil (const mpreal& v);
460 friend const mpreal floor(const mpreal& v);
461 friend const mpreal round(const mpreal& v);
462 friend const mpreal trunc(const mpreal& v);
463 friend const mpreal rint_ceil (const mpreal& v, mp_rnd_t rnd_mode);
464 friend const mpreal rint_floor (const mpreal& v, mp_rnd_t rnd_mode);
465 friend const mpreal rint_round (const mpreal& v, mp_rnd_t rnd_mode);
466 friend const mpreal rint_trunc (const mpreal& v, mp_rnd_t rnd_mode);
467 friend const mpreal frac (const mpreal& v, mp_rnd_t rnd_mode);
468 friend const mpreal remainder ( const mpreal& x, const mpreal& y, mp_rnd_t rnd_mode);
469 friend const mpreal remquo (long* q, const mpreal& x, const mpreal& y, mp_rnd_t rnd_mode);
472 friend const mpreal nexttoward (const mpreal& x, const mpreal& y);
473 friend const mpreal nextabove (const mpreal& x);
474 friend const mpreal nextbelow (const mpreal& x);
477 friend const mpreal urandomb (gmp_randstate_t& state);
481 friend const mpreal random2 (mp_size_t size, mp_exp_t exp);
485 friend bool (isnan) (const mpreal& v);
486 friend bool (isinf) (const mpreal& v);
487 friend bool (isfinite) (const mpreal& v);
489 friend bool isnum (const mpreal& v);
490 friend bool iszero (const mpreal& v);
491 friend bool isint (const mpreal& v);
494 friend bool isregular(const mpreal& v);
534 friend void swap(mpreal& x, mpreal& y);
536 friend const mpreal fmax(const mpreal& x, const mpreal& y, mp_rnd_t rnd_mode);
537 friend const mpreal fmin(const mpreal& x, const mpreal& y, mp_rnd_t rnd_mode);