代码拉取完成,页面将自动刷新
#pragma once
#include <cpps/cpps.h>
#include "BigInt.h"
using uint256_t = BigInt;
class cpps_uint256
{
public:
cpps_uint256() {
}
// +
cpps_uint256 * _add(cpps::C* c, cpps::object _right);
//_constructor
void _constructor(cpps::C* c, cpps::object _right);
// -
cpps_uint256 * _sub(cpps::C* c, cpps::object _right);
// *
cpps_uint256 * _mul(cpps::C* c, cpps::object _right);
// /
cpps_uint256 * _div(cpps::C* c, cpps::object _right);
// %
cpps_uint256 * _quyu(cpps::C* c, cpps::object _right);
// =
cpps_uint256 * _assignment(cpps::C* c, cpps::object _right);
// <
bool _less(cpps::C* c, cpps::object _right);
// >
bool _bigger(cpps::C* c, cpps::object _right);
// >=
bool _biggerorequel(cpps::C* c, cpps::object _right);
// ==
bool _equel(cpps::C* c, cpps::object _right);
// <=
bool _lessandequel(cpps::C* c, cpps::object _right);
// ++
cpps_uint256 * _rightautoincrease(cpps::C* c);
// --
cpps_uint256 * _rightautodecrease(cpps::C* c);
// ++left
cpps_uint256 * _leftautoincrease(cpps::C* c);
// --left
cpps_uint256 * _leftautodecrease(cpps::C* c);
// !=
bool _notequel(cpps::C* c, cpps::object _right);
// *=
cpps_uint256 * _mulandassignment(cpps::C* c, cpps::object _right);
// /=
cpps_uint256 * _divandassignment(cpps::C* c, cpps::object _right);
// +=
cpps_uint256 * _addandassignment(cpps::C* c, cpps::object _right);
// -=
cpps_uint256 * _subandassignment(cpps::C* c, cpps::object _right);
// -left
cpps_uint256 * _minus(cpps::C* c);
// +left
cpps_uint256 * _plus(cpps::C* c);
// !left
bool _not(cpps::C* c);
// ~left
cpps_uint256 * _not2(cpps::C* c);
//tostring
std::string _tostring();
//tostring
std::string _tohex();
//tostring
std::string _todec();
//toint
cpps_integer _toint();
//hash_value
cpps_integer _hash_value();
uint256_t _value;
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。