diff options
author | yoni206 <yoni206@users.noreply.github.com> | 2020-12-08 16:42:25 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 18:42:25 -0600 |
commit | 831bf3412fd4d95656539d7d61fe6d3f7150368c (patch) | |
tree | 410fdd7ec9838749203758c2fdafd956db1dbbb3 | |
parent | 66cfa09ecbd7d6eac2778745c9837dc20b8a23e7 (diff) |
update doc (#5619)
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.
-rw-r--r-- | src/options/bv_options.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options/bv_options.toml b/src/options/bv_options.toml index d2e3a61fd..a7f8d439f 100644 --- a/src/options/bv_options.toml +++ b/src/options/bv_options.toml @@ -135,7 +135,7 @@ header = "options/bv_options.h" 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" |