I am currently doing some experiments on Z3, and I have no idea of representing a floating-point constant literal in the literature (e.g. 1e307):
(declare-const a Real)
(assert (= a 1e+307))
(check-sat)
A similar problem arose in FPA theory:
(declare-const a (_ FloatingPoint 11 53))
(assert (= a 1e+307))
(check-sat)
All of these SMT codes received an error message:
(error "line 2 column 14: unknown constant e+307")
So, any idea to represent a decimal floating point constant in Z3 or SMT-LIB?
source
share