reSIProcate/stack  9694
Classes | Namespaces | Functions
QValue.hxx File Reference
#include "rutil/Data.hxx"
#include "rutil/ParseBuffer.hxx"
#include <math.h>
Include dependency graph for QValue.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  resip::QValue

Namespaces

namespace  resip
 

SERNonceHelper implements the makeNonce function in the same way as SIP Express Router (SER) - http://www.iptel.org/ser.


Functions

static int doubleToInt (const double d)

Function Documentation

static int doubleToInt ( const double  d) [static]

Definition at line 10 of file QValue.hxx.

Referenced by resip::QValue::operator!=(), resip::QValue::operator<(), resip::QValue::operator<=(), resip::QValue::operator=(), resip::QValue::operator==(), resip::QValue::operator>(), and resip::QValue::operator>=().

{ double f = floor(d); double c = ceil(d); return (((c-d) >= (d-f)) ? (int)f :(int)c); }