mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +00:00
Added Z3_fpa_get_numeral_significand_uint64 to .NET, Java, and ML APIs.
This commit is contained in:
parent
da3243fb07
commit
98f2de3216
5 changed files with 43 additions and 1 deletions
|
@ -2059,6 +2059,8 @@ struct
|
|||
(Z3native.fpa_get_numeral_sign (context_gno ctx) (Expr.gno t))
|
||||
let get_numeral_significand_string ( ctx : context ) ( t : expr ) =
|
||||
(Z3native.fpa_get_numeral_significand_string (context_gno ctx) (Expr.gno t))
|
||||
let get_numeral_significand_uint ( ctx : context ) ( t : expr ) =
|
||||
(Z3native.fpa_get_numeral_significand_uint64 (context_gno ctx) (Expr.gno t))
|
||||
let get_numeral_exponent_string ( ctx : context ) ( t : expr ) =
|
||||
(Z3native.fpa_get_numeral_exponent_string (context_gno ctx) (Expr.gno t))
|
||||
let get_numeral_exponent_int ( ctx : context ) ( t : expr ) =
|
||||
|
|
|
@ -2161,6 +2161,12 @@ sig
|
|||
(** Return the significand value of a floating-point numeral as a string. *)
|
||||
val get_numeral_significand_string : context -> Expr.expr -> string
|
||||
|
||||
(** Return the significand value of a floating-point numeral as a uint64.
|
||||
Remark: This function extracts the significand bits, without the
|
||||
hidden bit or normalization. Throws an exception if the
|
||||
significand does not fit into a uint64. *)
|
||||
val get_numeral_significand_uint : context -> Expr.expr -> bool * int
|
||||
|
||||
(** Return the exponent value of a floating-point numeral as a string *)
|
||||
val get_numeral_exponent_string : context -> Expr.expr -> string
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue