MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / getint

Method getint

src/test/scriptnum10.h:105–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 int getint() const
106 {
107 if (m_value > std::numeric_limits<int>::max())
108 return std::numeric_limits<int>::max();
109 else if (m_value < std::numeric_limits<int>::min())
110 return std::numeric_limits<int>::min();
111 return m_value;
112 }
113
114 std::vector<unsigned char> getvch() const
115 {

Callers 4

verifyFunction · 0.45
CheckCreateIntFunction · 0.45
integer.cppFile · 0.45
FUZZ_TARGETFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected