Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dbc.c604 #define bc_vm_err(e) (bc_vm_error((e), 0)) macro
1606 if (!b->len) return bc_vm_err(BC_ERROR_MATH_DIVIDE_BY_ZERO); in bc_num_d()
1668 if (!b->len) return bc_vm_err(BC_ERROR_MATH_DIVIDE_BY_ZERO); in bc_num_r()
1717 if (b->rdx) return bc_vm_err(BC_ERROR_MATH_NON_INTEGER); in bc_num_p()
2127 if (n->neg) return bc_vm_err(BC_ERROR_MATH_NEGATIVE); in bc_num_ulong()
2134 return bc_vm_err(BC_ERROR_MATH_OVERFLOW); in bc_num_ulong()
2138 if (r == SIZE_MAX || r < prev) return bc_vm_err(BC_ERROR_MATH_OVERFLOW); in bc_num_ulong()
2213 if (a->neg) return bc_vm_err(BC_ERROR_MATH_NEGATIVE); in bc_num_sqrt()
4447 if (!BC_PROG_NUM(r, n)) return bc_vm_err(BC_ERROR_EXEC_TYPE); in bc_program_type_num()
4452 if ((r->t != BC_RESULT_ARRAY) != (!t)) return bc_vm_err(BC_ERROR_EXEC_TYPE); in bc_program_type_match()
[all …]