• Home
  • Raw
  • Download

Lines Matching refs:bfdec_t

106 } bfdec_t;  typedef
418 static inline void bfdec_init(bf_context_t *s, bfdec_t *r) in bfdec_init()
422 static inline void bfdec_delete(bfdec_t *r) in bfdec_delete()
427 static inline void bfdec_neg(bfdec_t *r) in bfdec_neg()
432 static inline int bfdec_is_finite(const bfdec_t *a) in bfdec_is_finite()
437 static inline int bfdec_is_nan(const bfdec_t *a) in bfdec_is_nan()
442 static inline int bfdec_is_zero(const bfdec_t *a) in bfdec_is_zero()
447 static inline void bfdec_memcpy(bfdec_t *r, const bfdec_t *a) in bfdec_memcpy()
452 int bfdec_set_ui(bfdec_t *r, uint64_t a);
453 int bfdec_set_si(bfdec_t *r, int64_t a);
455 static inline void bfdec_set_nan(bfdec_t *r) in bfdec_set_nan()
459 static inline void bfdec_set_zero(bfdec_t *r, int is_neg) in bfdec_set_zero()
463 static inline void bfdec_set_inf(bfdec_t *r, int is_neg) in bfdec_set_inf()
467 static inline int bfdec_set(bfdec_t *r, const bfdec_t *a) in bfdec_set()
471 static inline void bfdec_move(bfdec_t *r, bfdec_t *a) in bfdec_move()
475 static inline int bfdec_cmpu(const bfdec_t *a, const bfdec_t *b) in bfdec_cmpu()
479 static inline int bfdec_cmp_full(const bfdec_t *a, const bfdec_t *b) in bfdec_cmp_full()
483 static inline int bfdec_cmp(const bfdec_t *a, const bfdec_t *b) in bfdec_cmp()
487 static inline int bfdec_cmp_eq(const bfdec_t *a, const bfdec_t *b) in bfdec_cmp_eq()
491 static inline int bfdec_cmp_le(const bfdec_t *a, const bfdec_t *b) in bfdec_cmp_le()
495 static inline int bfdec_cmp_lt(const bfdec_t *a, const bfdec_t *b) in bfdec_cmp_lt()
500 int bfdec_add(bfdec_t *r, const bfdec_t *a, const bfdec_t *b, limb_t prec,
502 int bfdec_sub(bfdec_t *r, const bfdec_t *a, const bfdec_t *b, limb_t prec,
504 int bfdec_add_si(bfdec_t *r, const bfdec_t *a, int64_t b1, limb_t prec,
506 int bfdec_mul(bfdec_t *r, const bfdec_t *a, const bfdec_t *b, limb_t prec,
508 int bfdec_mul_si(bfdec_t *r, const bfdec_t *a, int64_t b1, limb_t prec,
510 int bfdec_div(bfdec_t *r, const bfdec_t *a, const bfdec_t *b, limb_t prec,
512 int bfdec_divrem(bfdec_t *q, bfdec_t *r, const bfdec_t *a, const bfdec_t *b,
514 int bfdec_rem(bfdec_t *r, const bfdec_t *a, const bfdec_t *b, limb_t prec,
516 int bfdec_rint(bfdec_t *r, int rnd_mode);
517 int bfdec_sqrt(bfdec_t *r, const bfdec_t *a, limb_t prec, bf_flags_t flags);
518 int bfdec_round(bfdec_t *r, limb_t prec, bf_flags_t flags);
519 int bfdec_get_int32(int *pres, const bfdec_t *a);
520 int bfdec_pow_ui(bfdec_t *r, const bfdec_t *a, limb_t b);
522 char *bfdec_ftoa(size_t *plen, const bfdec_t *a, limb_t prec, bf_flags_t flags);
523 int bfdec_atof(bfdec_t *r, const char *str, const char **pnext,
528 void bfdec_print_str(const char *str, const bfdec_t *a);
529 static inline int bfdec_resize(bfdec_t *r, limb_t len) in bfdec_resize()
533 int bfdec_normalize_and_round(bfdec_t *r, limb_t prec1, bf_flags_t flags);