Lines Matching refs:bc_vm_err
604 #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()
4598 s = bc_vm_err(BC_ERROR_EXEC_VOID_VAL); in bc_program_num()
4633 if (lt == BC_RESULT_STR) return bc_vm_err(BC_ERROR_EXEC_TYPE); in bc_program_binPrep()
4665 return bc_vm_err(BC_ERROR_EXEC_TYPE); in bc_program_assignPrep()
4667 if (lt == BC_RESULT_ONE) return bc_vm_err(BC_ERROR_EXEC_TYPE); in bc_program_assignPrep()
4732 return bc_vm_err(BC_ERROR_EXEC_REC_READ); in bc_program_read()
4742 if (s == BC_STATUS_EOF) s = bc_vm_err(BC_ERROR_EXEC_READ_EXPR); in bc_program_read()
4754 s = bc_vm_err(BC_ERROR_EXEC_READ_EXPR); in bc_program_read()
4812 if (pop) return bc_vm_err(BC_ERROR_EXEC_VOID_VAL); in bc_program_print()