mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 06:02:14 +00:00
Add missing static_cast<>s
[SVN r8212]
This commit is contained in:
@@ -671,9 +671,9 @@ bool operator<(Int const & l, Int const & r) { return l.i_ < r.i_; }
|
||||
bool operator<(Int const & l, int const & r) { return l.i_ < r; }
|
||||
bool operator<(int const & l, Int const & r) { return l < r.i_; }
|
||||
|
||||
Int pow(Int const & l, Int const & r) { return Int(::pow(l.i_, r.i_)); }
|
||||
Int pow(Int const & l, Int const & r) { return Int(static_cast<int>(::pow(l.i_, r.i_))); }
|
||||
Int powmod(Int const & l, Int const & r, Int const & m) { return Int((int)::pow(l.i_, r.i_) % m.i_); }
|
||||
Int pow(Int const & l, int const & r) { return Int(::pow(l.i_, r)); }
|
||||
Int pow(Int const & l, int const & r) { return Int(static_cast<int>(::pow(l.i_, r))); }
|
||||
|
||||
std::ostream & operator<<(std::ostream & o, Int const & r) { return (o << r.i_); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user