Generated on Wed Nov 1 15:04:49 2006 for Gecode by doxygen 1.4.5

mult.icc File Reference

(Revision: 3512)

#include <cmath>

Go to the source code of this file.

Namespaces

namespace  Gecode
namespace  Gecode::Int
namespace  Gecode::Int::Arithmetic

Functions

double Gecode::Int::Arithmetic::m (int a, int b)
 Multiply a and b as double.
int Gecode::Int::Arithmetic::f_d (int x, int y)
 Compute $\lfloor x/y\rfloor$.
int Gecode::Int::Arithmetic::c_d (int x, int y)
 Compute $\lceil x/y\rceil$.
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.