CBMC
convert_real_literal.cpp File Reference

Statement List Language Conversion. More...

+ Include dependency graph for convert_real_literal.cpp:

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.cpp.

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.