23 #include "ns3/core-config.h"
29 #if defined (INT64X64_USE_128) && !defined (PYTHON_SCAN)
31 #elif defined (INT64X64_USE_CAIRO) && !defined (PYTHON_SCAN)
33 #elif defined (INT64X64_USE_DOUBLE) || defined (PYTHON_SCAN)
146 return !(lhs == rhs);
188 std::ostream &
operator << (std::ostream &os,
const int64x64_t &value);
197 std::istream &
operator >> (std::istream &is, int64x64_t &value);
207 return (value < 0) ? -value : value;
220 return (a < b) ? a : b;
232 return (a > b) ? a : b;
High precision numerical type, implementing Q64.64 fixed precision.
int64x64_t Max(const int64x64_t &a, const int64x64_t &b)
Maximum.
int64x64_t operator/(const int64x64_t &lhs, const int64x64_t &rhs)
Division operator.
bool operator>=(const int64x64_t &lhs, const int64x64_t &rhs)
Greater or equal operator.
bool operator<=(const int64x64_t &lhs, const int64x64_t &rhs)
Less or equal operator.
int64x64_t operator-(const int64x64_t &lhs, const int64x64_t &rhs)
Subtraction operator.
int64x64_t operator+(const int64x64_t &lhs, const int64x64_t &rhs)
Addition operator.
int64x64_t Abs(const int64x64_t &value)
Absolute value.
int64x64_t Min(const int64x64_t &a, const int64x64_t &b)
Minimum.
int64x64_t operator*(const int64x64_t &lhs, const int64x64_t &rhs)
Multiplication operator.
Declaration of the ns3::int64x64_t type using a native int128_t type.
Declaration of the ns3::int64x64_t type using the Cairo implementation.
Declaration and implementation of the ns3::int64x64_t type using the double type.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
bool operator!=(Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > a, Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > b)
Inequality test.
std::istream & operator>>(std::istream &is, Angles &a)
std::ostream & operator<<(std::ostream &os, const Angles &a)