The current help message for --bv-div-zero-const only mentions bvudiv (in which the result is -1) and not bvurem (in which the result is the first argument).
I think this is a bit misleading, because in practice, this option controls also the behavior of bvurem:
CVC4/src/theory/bv/theory_bv.cpp
Line 134 in
0309ef4
if (options::bitvectorDivByZeroConst())
This PR is an attempt to provide a more accurate help message.
long = "bv-div-zero-const"
type = "bool"
default = "true"
- help = "always return -1 on division by zero"
+ help = "always return -1 on (bvudiv s 0) and s on (bvurem s 0)"
[[option]]
name = "bvExtractArithRewrite"