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

Method isNaN

smt/expr.cpp:1167–1175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165} while (0)
1166
1167expr expr::isNaN() const {
1168 fold_fp_neg(isNaN);
1169
1170 expr v;
1171 if (isFPNeg(v) || isFAbs(v))
1172 return v.isNaN();
1173
1174 return unop_fold(Z3_mk_fpa_is_nan);
1175}
1176
1177expr expr::isInf() const {
1178 fold_fp_neg(isInf);

Callers 2

fordMethod · 0.45
funoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected