3#include <nlohmann/json.hpp>
40 const nlohmann::json &call_;
46 void raise_math_errors(
52 exprt within(
double low,
double high);
54 const exprt &condition,
55 const std::string &exception,
56 const std::string &message);
57 void assume(
const exprt &condition);
math_module
numpy.
Definition bounded_math.h:14
static bool is_bounded(const std::string &function)
Functions whose result of a run-time argument is bounded.
Definition bounded_math.cpp:75
exprt literal(const std::string &function, double x)
The numpy.* result for a literal argument.
Definition bounded_math.cpp:90
bounded_math(python_converter &converter, const nlohmann::json &call)
Definition bounded_math.cpp:68
static double host_value(const std::string &function, double x)
Definition bounded_math.cpp:85
exprt runtime(const std::string &function, const exprt &x, math_module module)
The result for a number known only at run time, which is read once.
Definition bounded_math.cpp:98
static bool has_runtime_model(const std::string &function)
is_bounded() or exact (sqrt).
Definition bounded_math.cpp:80
Main converter for transforming Python AST into ESBMC's intermediate representation.
Definition python_converter.h:76