mirror of
https://github.com/Z3Prover/z3
synced 2026-03-16 02:00:00 +00:00
fix: correct misleading API comments in fp.go and JavaExample.java (#9003)
* Initial plan * fix: correct misleading API comments in fp.go and JavaExample.java Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
bebad7da50
commit
6893674392
2 changed files with 2 additions and 2 deletions
|
|
@ -2345,7 +2345,7 @@ class JavaExample
|
|||
if (!five.isGround())
|
||||
throw new TestFailedException();
|
||||
|
||||
// a free variable is not ground
|
||||
// an uninterpreted constant is also ground (no bound variables)
|
||||
IntExpr x = ctx.mkIntConst("x");
|
||||
if (!x.isGround())
|
||||
throw new TestFailedException();
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ func (c *Context) MkFPNumeralInt64Uint64(sgn bool, exp int64, sig uint64, sort *
|
|||
return newExpr(c, C.Z3_mk_fpa_numeral_int64_uint64(c.ptr, C.bool(sgn), C.int64_t(exp), C.uint64_t(sig), sort.ptr))
|
||||
}
|
||||
|
||||
// MkFPFMA creates a floating-point fused multiply-add: rm * (t1 * t2) + t3.
|
||||
// MkFPFMA creates a floating-point fused multiply-add: round((t1 * t2) + t3, rm).
|
||||
func (c *Context) MkFPFMA(rm, t1, t2, t3 *Expr) *Expr {
|
||||
return newExpr(c, C.Z3_mk_fpa_fma(c.ptr, rm.ptr, t1.ptr, t2.ptr, t3.ptr))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue