Searched defs:double (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/util/
H A Dfixed_point.h35 FixedPoint(double value) : v(static_cast<T>(floor(value*(1<<precision)))) {}
72 double operator*(double val) const { return static_cast<double>(*this)*val; }
82 operator double() const { return ldexp(v,-precision); }
95 template<typename T, unsigned int precision> double operator *(double a, FixedPoint<T,precision> b) { return b*a; }

Completed in 15 milliseconds