Home
last modified time | relevance | path

Searched refs:mpd_context_t (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Modules/_decimal/libmpdec/
Dmpdecimal.h242 typedef struct mpd_context_t { struct
252 } mpd_context_t; argument
304 extern void (* mpd_traphandler)(mpd_context_t *);
305 void mpd_dflt_traphandler(mpd_context_t *);
308 void mpd_init(mpd_context_t *ctx, mpd_ssize_t prec);
310 void mpd_maxcontext(mpd_context_t *ctx);
311 void mpd_defaultcontext(mpd_context_t *ctx);
312 void mpd_basiccontext(mpd_context_t *ctx);
313 int mpd_ieee_context(mpd_context_t *ctx, int bits);
315 mpd_ssize_t mpd_getprec(const mpd_context_t *ctx);
[all …]
Dmpsignal.c39 mpd_format(const mpd_t *dec, const char *fmt, mpd_context_t *ctx) in mpd_format()
50 uint8_t srcsign, uint32_t base, mpd_context_t *ctx) in mpd_import_u16()
59 uint8_t srcsign, uint32_t base, mpd_context_t *ctx) in mpd_import_u32()
68 mpd_context_t *ctx) in mpd_export_u16()
79 mpd_context_t *ctx) in mpd_export_u32()
89 mpd_finalize(mpd_t *result, mpd_context_t *ctx) in mpd_finalize()
97 mpd_check_nan(mpd_t *result, const mpd_t *a, mpd_context_t *ctx) in mpd_check_nan()
108 mpd_check_nans(mpd_t *result, const mpd_t *a, const mpd_t *b, mpd_context_t *ctx) in mpd_check_nans()
119 mpd_set_string(mpd_t *result, const char *s, mpd_context_t *ctx) in mpd_set_string()
127 mpd_maxcoeff(mpd_t *result, mpd_context_t *ctx) in mpd_maxcoeff()
[all …]
Dcontext.c37 mpd_dflt_traphandler(mpd_context_t *ctx) in mpd_dflt_traphandler()
43 void (* mpd_traphandler)(mpd_context_t *) = mpd_dflt_traphandler;
68 mpd_init(mpd_context_t *ctx, mpd_ssize_t prec) in mpd_init()
87 mpd_maxcontext(mpd_context_t *ctx) in mpd_maxcontext()
101 mpd_defaultcontext(mpd_context_t *ctx) in mpd_defaultcontext()
115 mpd_basiccontext(mpd_context_t *ctx) in mpd_basiccontext()
129 mpd_ieee_context(mpd_context_t *ctx, int bits) in mpd_ieee_context()
149 mpd_getprec(const mpd_context_t *ctx) in mpd_getprec()
155 mpd_getemax(const mpd_context_t *ctx) in mpd_getemax()
161 mpd_getemin(const mpd_context_t *ctx) in mpd_getemin()
[all …]
Dmpdecimal.c104 static inline void _mpd_check_exp(mpd_t *dec, const mpd_context_t *ctx,
113 const mpd_context_t *ctx, uint32_t *status);
115 const mpd_context_t *ctx, uint32_t *status);
120 const mpd_context_t *ctx, uint32_t *status);
209 mpd_etiny(const mpd_context_t *ctx) in mpd_etiny()
216 mpd_etop(const mpd_context_t *ctx) in mpd_etop()
351 mpd_isnormal(const mpd_t *dec, const mpd_context_t *ctx) in mpd_isnormal()
361 mpd_issubnormal(const mpd_t *dec, const mpd_context_t *ctx) in mpd_issubnormal()
589 mpd_resize(mpd_t *result, mpd_ssize_t nwords, mpd_context_t *ctx) in mpd_resize()
600 mpd_resize_zero(mpd_t *result, mpd_ssize_t nwords, mpd_context_t *ctx) in mpd_resize_zero()
[all …]
Dbench.c58 color_point(mpd_t *x0, mpd_t *y0, long maxiter, mpd_context_t *ctx) in color_point()
101 mpd_context_t ctx; in main()
Dbench_full.c65 color_point(const mpd_t *x0, const mpd_t *y0, const long maxiter, mpd_context_t *ctx) in color_point()
116 mpd_context_t ctx; in main()
Dio.c199 mpd_qset_string(mpd_t *dec, const char *s, const mpd_context_t *ctx, in mpd_qset_string()
333 mpd_context_t maxcontext; in mpd_qset_string_exact()
1223 const mpd_context_t *ctx, uint32_t *status) in _mpd_round()
1249 const mpd_context_t *ctx, uint32_t *status) in mpd_qformat_spec()
1401 mpd_qformat(const mpd_t *dec, const char *fmt, const mpd_context_t *ctx, in mpd_qformat()
Dmpalloc.c191 mpd_new(mpd_context_t *ctx) in mpd_new()
/third_party/python/Modules/_decimal/
D_decimal.c82 mpd_context_t ctx;
282 dec_traphandler(mpd_context_t *ctx UNUSED) /* GCOV_NOT_REACHED */ in dec_traphandler()
482 mpd_context_t *ctx = CTX(context); in dec_addstatus()
787 mpd_context_t *ctx; in context_setprec()
807 mpd_context_t *ctx; in context_setemin()
827 mpd_context_t *ctx; in context_setemax()
848 mpd_context_t *ctx = CTX(self); in context_unsafe_setprec()
868 mpd_context_t *ctx = CTX(self); in context_unsafe_setemin()
888 mpd_context_t *ctx = CTX(self); in context_unsafe_setemax()
909 mpd_context_t *ctx; in context_setround()
[all …]
/third_party/python/Modules/_decimal/libmpdec/examples/
Dsqrt.c38 mpd_context_t ctx; in main()
Dshift.c38 mpd_context_t ctx; in main()
Dcompare.c38 mpd_context_t ctx; in main()
Dmultiply.c38 mpd_context_t ctx; in main()
Dpow.c38 mpd_context_t ctx; in main()
Ddiv.c38 mpd_context_t ctx; in main()
Dpowmod.c38 mpd_context_t ctx; in main()
Ddivmod.c38 mpd_context_t ctx; in main()