#include "arith_tools.h"#include "c_types.h"#include "expr_util.h"#include "fixedbv.h"#include "ieee_float.h"#include "invariant.h"#include "mathematical_types.h"#include "std_expr.h"#include <algorithm>Go to the source code of this file.
expr to an arbitrary-precision integer. ceil(log2(size))
Definition at line 190 of file arith_tools.cpp.
convert a bit-vector representation (possibly signed) to integer
Definition at line 426 of file arith_tools.cpp.
perform a binary bit-wise operation, given as a functor, on a bit-vector representation
Definition at line 374 of file arith_tools.cpp.
perform a unary bit-wise operation, given as a functor, on a bit-vector representation
Definition at line 391 of file arith_tools.cpp.
Definition at line 100 of file arith_tools.cpp.
Get a bit with given index from bit-vector representation.
Definition at line 286 of file arith_tools.cpp.
convert an integer to bit-vector representation with given width This uses two's complement for negative numbers.
If the value is out of range, it is 'wrapped around'.
Definition at line 404 of file arith_tools.cpp.
Definition at line 205 of file arith_tools.cpp.
construct a bit-vector representation from a functor
Definition at line 330 of file arith_tools.cpp.
Definition at line 276 of file arith_tools.cpp.
Definition at line 270 of file arith_tools.cpp.
turn a value 0...15 into '0'-'9', 'A'-'Z'
Definition at line 315 of file arith_tools.cpp.
A multi-precision implementation of the power operator.
Definition at line 219 of file arith_tools.cpp.
Convert a constant expression expr to an arbitrary-precision integer.
Definition at line 21 of file arith_tools.cpp.