File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -219,17 +219,17 @@ bool evaluates_to_boolean(const exprt &e)
219
219
if (e.id () == ID_typecast)
220
220
return e.type ().id () == ID_bool;
221
221
222
- // Boolean constants
222
+ // Boolean constants
223
223
if (e.id () == ID_true || e.id () == ID_false)
224
224
return true ;
225
225
if (e.id () == ID_constant)
226
226
return true ;
227
227
228
- // Symbols
228
+ // Symbols
229
229
if (e.id () == ID_symbol)
230
230
return true ;
231
231
232
- // arithmetic relations
232
+ // Arithmetic relations
233
233
if (e.id () == ID_equal || e.id () == ID_notequal)
234
234
return true ;
235
235
if (e.id () == ID_ieee_float_equal || e.id () == ID_ieee_float_notequal)
@@ -239,15 +239,15 @@ bool evaluates_to_boolean(const exprt &e)
239
239
if (e.id () == ID_le || e.id () == ID_lt)
240
240
return true ;
241
241
242
- // propositional operators
242
+ // Propositional operators
243
243
if (
244
244
e.id () == ID_not || e.id () == ID_and || e.id () == ID_or ||
245
245
e.id () == ID_implies)
246
246
return true ;
247
247
if (e.id () == ID_exists || e.id () == ID_forall)
248
248
return true ;
249
249
250
- // weird
250
+ // Other
251
251
if (
252
252
e.id () == ID_isfinite || e.id () == ID_isnormal || e.id () == ID_isinf ||
253
253
e.id () == ID_isnan)
You can’t perform that action at this time.
0 commit comments