CBMC
convert_real_literal.h File Reference

Statement List Language Conversion. More...

#include <string>
#include <util/std_expr.h>
+ Include dependency graph for convert_real_literal.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

constant_exprt convert_real_literal (const std::string &src)
 Converts a string into the corresponding 'Real' expression. More...
 

Detailed Description

Statement List Language Conversion.

Definition in file convert_real_literal.h.

Function Documentation

◆ convert_real_literal()

constant_exprt convert_real_literal ( const std::string &  src)

Converts a string into the corresponding 'Real' expression.

Parameters
srcString returned by the parser.
Returns
Constant expression representing the real value.

Definition at line 19 of file convert_real_literal.cpp.