3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-16 02:00:00 +00:00
z3/examples
Angelica Moreira bebad7da50
Add numeral extraction helpers to Java API (#8978)
New methods:
- Expr.getNumeralDouble(): retrieve any numeral as a double
- IntNum.getUint(): extract numeral as unsigned 32-bit value
- IntNum.getUint64(): extract numeral as unsigned 64-bit value
- RatNum.getSmall(): numerator/denominator as int64 pair
- RatNum.getRationalInt64(): numerator/denominator (returns null on overflow)

Each is a thin wrapper around the existing Native binding.
Added examples to JavaExample.java covering all new methods.
2026-03-15 10:36:17 -07:00
..
c Remove vestiges of old ml api (#7597) 2025-03-27 16:41:31 -07:00
c++ removing file to deal with build issue 2026-01-13 09:15:14 -08:00
dotnet remove RCF example 2026-01-14 17:07:25 -08:00
go Fix variable naming: tmpFile -> tempFile for Go conventions 2026-02-16 21:48:51 +00:00
java Add numeral extraction helpers to Java API (#8978) 2026-03-15 10:36:17 -07:00
maxsat fix grouping for latest doxygen (#5626) 2021-10-27 23:46:31 +02:00
ml Add Z3_get_estimated_alloc_size to OCaml API (#7068) 2023-12-21 12:54:30 -08:00
python Fix some typos. (#7115) 2024-02-07 23:06:43 -08:00
SMT-LIB2/bounded model checking Fix some typos. (#7115) 2024-02-07 23:06:43 -08:00
tptp move to readme-cmake 2025-05-13 14:36:20 -07:00
userPropagator userPropagator: Compile as C++20. 2022-08-05 07:41:14 +03:00
CMakeLists.txt cmake: Remove ExternalProject BUILD_ALWAYS workaround. 2022-08-02 09:27:11 +03:00