|
cprover
|
C++ Language Conversion. More...
#include "convert_float_literal.h"#include <cassert>#include <util/arith_tools.h>#include <util/c_types.h>#include <util/config.h>#include <util/ieee_float.h>#include <util/std_expr.h>#include <util/std_types.h>#include <util/string2int.h>#include "parse_float.h"Go to the source code of this file.
Functions | |
| exprt | convert_float_literal (const std::string &src) |
C++ Language Conversion.
Definition in file convert_float_literal.cpp.
| exprt convert_float_literal | ( | const std::string & | src | ) |
Definition at line 26 of file convert_float_literal.cpp.
References configt::ansi_c, ieee_floatt::build(), config, double_type(), float_type(), ieee_floatt::from_base10(), from_integer(), irept::get(), irept::get_int(), id2string(), integer2binary(), long_double_type(), exprt::op0(), exprt::op1(), exprt::operands(), ieee_floatt::pack(), parse_float(), power(), ieee_float_spect::quadruple_precision(), irept::set(), configt::ansi_ct::single_precision_constant, ieee_floatt::spec, typet::subtype(), to_floatbv_type(), ieee_float_spect::to_type(), exprt::type(), configt::ansi_ct::use_fixed_for_float, and ieee_float_spect::width().
Referenced by yyansi_clex(), and yyjsillex().