MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / mkFloat

Method mkFloat

smt/expr.cpp:225–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225expr expr::mkFloat(double n, const expr &type) {
226 C2(type);
227 return Z3_mk_fpa_numeral_double(ctx(), n, type.sort());
228}
229
230expr expr::mkHalf(float n) {
231 return Z3_mk_fpa_numeral_float(ctx(), n, Z3_mk_fpa_sort_half(ctx()));

Callers

nothing calls this directly

Calls 1

sortMethod · 0.80

Tested by

no test coverage detected