Home
last modified time | relevance | path

Searched refs:BclError (Results 1 – 6 of 6) sorted by relevance

/external/bc/include/
Dbcl.h178 typedef enum BclError { enum
198 } BclError; typedef
213 BclError bcl_init(void);
221 BclError bcl_pushContext(BclContext ctxt);
236 BclError bcl_err(BclNumber n);
244 BclError bcl_num_setScale(BclNumber n, size_t scale);
247 BclError bcl_copy(BclNumber d, BclNumber s);
250 BclError bcl_bigdig(BclNumber n, BclBigDig *result);
262 BclError bcl_divmod(BclNumber a, BclNumber b, BclNumber *c, BclNumber *d);
277 BclError bcl_rand_seedWithNum(BclNumber n);
[all …]
Dlibrary.h145 return (BclError) (0 - (n).i); \
Dvm.h342 BclError err;
/external/bc/src/
Dlibrary.c66 BclError bcl_init(void) { in bcl_init()
68 BclError e = BCL_ERROR_NONE; in bcl_init()
108 BclError bcl_pushContext(BclContext ctxt) { in bcl_pushContext()
110 BclError e = BCL_ERROR_NONE; in bcl_pushContext()
244 BclError bcl_err(BclNumber n) { in bcl_err()
251 if (n.i > 0 - (size_t) BCL_ERROR_NELEMS) return (BclError) (0 - n.i); in bcl_err()
284 BclError e = BCL_ERROR_NONE; in bcl_num_create()
334 BclError bcl_copy(BclNumber d, BclNumber s) { in bcl_copy()
336 BclError e = BCL_ERROR_NONE; in bcl_copy()
364 BclError e = BCL_ERROR_NONE; in bcl_dup()
[all …]
Dvm.c186 vm.err = (BclError) (e - BC_ERR_MATH_NEGATIVE +
/external/bc/tests/
Dbcl.c42 static void err(BclError e) { in err()
48 BclError e; in main()