Exemplo n.º 1
0
/// Returns true if e has floating point type.
bool
is_floating_point_expression(const expr& e)
{
  return is_floating_point_type(e.get_type());
}
Exemplo n.º 2
0
/// Returns true if e has arithmetic type.
bool
is_arithmetic_expression(const expr& e)
{
  return is_arithmetic_type(e.get_type());
}
Exemplo n.º 3
0
/// Returns true if e has integral type.
bool
is_integral_expression(const expr& e)
{
  return is_integral_type(e.get_type());
}