1/*******************************************************************\
5Author: Daniel Kroening, kroening@kroening.com
7\*******************************************************************/
17 // Note that the expressions do not have rounding modes
18 // but float_utils requires one.
30 // float_utilst::rem implements lhs-(lhs/rhs)*rhs, which matches
31 // neither fmod() nor IEEE
Pre-defined bitvector types.
const floatbv_typet & to_floatbv_type(const typet &type)
Cast a typet to a floatbv_typet.
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
A base class for binary expressions.
virtual const bvt & convert_bv(const exprt &expr, const std::optional< std::size_t > expected_width={})
Convert expression to vector of literalts, using an internal cache to speed up conversion if availabl...
virtual bvt convert_floatbv_mod_rem(const binary_exprt &)
static bvt build_constant(const mp_integer &i, std::size_t width)
typet & type()
Return the type of the expression.
std::vector< literalt > bvt