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 <ansi-c/gcc_types.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 28 of file convert_float_literal.cpp.
References configt::ansi_c, ieee_floatt::build(), config, double_type(), parse_floatt::exponent, parse_floatt::exponent_base, float_type(), ieee_floatt::from_base10(), from_integer(), gcc_float128_type(), gcc_float128x_type(), gcc_float16_type(), gcc_float32_type(), gcc_float32x_type(), gcc_float64_type(), gcc_float64x_type(), integer2binary(), parse_floatt::is_decimal, parse_floatt::is_float, parse_floatt::is_float128, parse_floatt::is_float128x, parse_floatt::is_float16, parse_floatt::is_float32, parse_floatt::is_float32x, parse_floatt::is_float64, parse_floatt::is_float64x, parse_floatt::is_float80, parse_floatt::is_imaginary, parse_floatt::is_long, long_double_type(), ieee_floatt::pack(), irept::set(), parse_floatt::significand, configt::ansi_ct::single_precision_constant, ieee_floatt::spec, to_floatbv_type(), ieee_float_spect::to_type(), exprt::type(), UNREACHABLE, and ieee_float_spect::width().
Referenced by yyansi_clex(), and yyjsillex().