Skip to content

Commit 995a548

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#2164 from tautschnig/cleanup-mp-arith
Cleanup comments and unnecessary global in mp_arith.h
2 parents a4d1891 + 90d59d8 commit 995a548

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/util/mp_arith.h

+6-8
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,16 @@ const mp_integer string2integer(const std::string &, unsigned base=10);
5252
const std::string integer2binary(const mp_integer &, std::size_t width);
5353
const mp_integer binary2integer(const std::string &, bool is_signed);
5454

55-
/// \deprecated use numeric_cast<unsigned long long> instead
56-
DEPRECATED("Use numeric_cast<unsigned long long> instead")
55+
/// \deprecated use numeric_cast_v<unsigned long long> instead
56+
DEPRECATED("Use numeric_cast_v<unsigned long long> instead")
5757
mp_integer::ullong_t integer2ulong(const mp_integer &);
5858

59-
/// \deprecated use numeric_cast<std::size_t> instead
60-
DEPRECATED("Use numeric_cast<std::size_t> instead")
59+
/// \deprecated use numeric_cast_v<std::size_t> instead
60+
DEPRECATED("Use numeric_cast_v<std::size_t> instead")
6161
std::size_t integer2size_t(const mp_integer &);
6262

63-
/// \deprecated use numeric_cast<unsigned> instead
64-
DEPRECATED("Use numeric_cast<unsigned> instead")
63+
/// \deprecated use numeric_cast_v<unsigned> instead
64+
DEPRECATED("Use numeric_cast_v<unsigned> instead")
6565
unsigned integer2unsigned(const mp_integer &);
6666

67-
const mp_integer mp_zero=string2integer("0");
68-
6967
#endif // CPROVER_UTIL_MP_ARITH_H

0 commit comments

Comments
 (0)