1#ifndef PYTHON_FRONTEND_COMPLEX_HANDLER_UTILS_H
2#define PYTHON_FRONTEND_COMPLEX_HANDLER_UTILS_H
22 const std::string &
raw,
Main converter for transforming Python AST into ESBMC's intermediate representation.
Definition python_converter.h:76
@ raw
No normalisation. Baseline for the measurement.
Definition fingerprint.h:18
Definition complex_handler_utils.cpp:10
exprt raise_math_int_type_error_expr(python_converter &converter)
Generates a TypeError expression for functions that require an integer but received a complex: "'comp...
Definition complex_handler_utils.cpp:116
exprt raise_math_real_type_error_expr(python_converter &converter)
Generates a TypeError expression for math functions that reject complex arguments: "must be real numb...
Definition complex_handler_utils.cpp:110
bool parse_complex_string(const std::string &raw, double &real_out, double &imag_out)
Parses a Python complex literal string into (real, imag) components.
Definition complex_handler_utils.cpp:35