mult.icc File Reference
(Revision: 6288)
#include <cmath>
#include <climits>
Go to the source code of this file.
Namespaces | |
namespace | Gecode |
namespace | Gecode::Int |
namespace | Gecode::Int::Arithmetic |
Functions | |
template<class Val> | |
Val | Gecode::Int::Arithmetic::m (int x, int y) |
Multiply x and y as type Val. | |
template<class Val> | |
int | Gecode::Int::Arithmetic::c_d_p (int x, int y) |
Compute ![]() | |
template<class Val> | |
int | Gecode::Int::Arithmetic::f_d_p (int x, int y) |
Compute ![]() | |
template<> | |
int | Gecode::Int::Arithmetic::c_d_p< int > (int x, int y) |
template<> | |
int | Gecode::Int::Arithmetic::c_d_p< double > (int x, int y) |
template<> | |
int | Gecode::Int::Arithmetic::f_d_p< int > (int x, int y) |
template<> | |
int | Gecode::Int::Arithmetic::f_d_p< double > (int x, int y) |
int | Gecode::Int::Arithmetic::f_d (int x, int y) |
Compute ![]() | |
int | Gecode::Int::Arithmetic::c_d (int x, int y) |
Compute ![]() | |
template<class View> | |
bool | Gecode::Int::Arithmetic::p (const View &x) |
Test whether x is postive. | |
template<class View> | |
bool | Gecode::Int::Arithmetic::n (const View &x) |
Test whether x is negative. | |
template<class View> | |
bool | Gecode::Int::Arithmetic::x (const View &x) |
Test whether x is neither positive nor negative. |