mirror of
https://github.com/Z3Prover/z3
synced 2025-06-15 18:36:16 +00:00
Bugfixes for FPA API. Thanks to Christian Dernehl for reporting these.
This commit is contained in:
parent
fd0c86ec7d
commit
624cc8a874
2 changed files with 2 additions and 2 deletions
|
@ -712,7 +712,7 @@ extern "C" {
|
||||||
|
|
||||||
unsigned Z3_API Z3_fpa_get_sbits(Z3_context c, Z3_sort s) {
|
unsigned Z3_API Z3_fpa_get_sbits(Z3_context c, Z3_sort s) {
|
||||||
Z3_TRY;
|
Z3_TRY;
|
||||||
LOG_Z3_fpa_get_ebits(c, s);
|
LOG_Z3_fpa_get_sbits(c, s);
|
||||||
RESET_ERROR_CODE();
|
RESET_ERROR_CODE();
|
||||||
CHECK_NON_NULL(s, 0);
|
CHECK_NON_NULL(s, 0);
|
||||||
return mk_c(c)->fpautil().get_sbits(to_sort(s));
|
return mk_c(c)->fpautil().get_sbits(to_sort(s));
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class FPSort extends Sort
|
||||||
* The number of significand bits.
|
* The number of significand bits.
|
||||||
*/
|
*/
|
||||||
public int getSBits() {
|
public int getSBits() {
|
||||||
return Native.fpaGetEbits(getContext().nCtx(), getNativeObject());
|
return Native.fpaGetSbits(getContext().nCtx(), getNativeObject());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue