Declaration and implementation of the ns3::int64x64_t type using the double type. More...
#include "ns3/core-config.h"
#include <cmath>
#include <stdint.h>
#include <utility>
Go to the source code of this file.
Classes | |
class | ns3::int64x64_t |
High precision numerical type, implementing Q64.64 fixed precision. More... | |
Namespaces | |
namespace | ns3 |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
Macros | |
#define | HP_MAX_64 (std::pow(2.0L, 64)) |
Floating point value of HP_MASK_LO + 1 We really want: | |
#define | INT64X64_DOUBLE_H |
Using the ns3::int64x64_t based on double values. | |
Declaration and implementation of the ns3::int64x64_t type using the double type.
Definition in file int64x64-double.h.
#define HP_MAX_64 (std::pow(2.0L, 64)) |
Floating point value of HP_MASK_LO + 1 We really want:
but we can't call functions in const definitions, We could make this a static and initialize in int64x64-double.cc or int64x64.cc, but this requires handling static initialization order when most of the implementation is inline. Instead, we resort to this define.
Definition at line 58 of file int64x64-double.h.
#define INT64X64_DOUBLE_H |
Using the ns3::int64x64_t based on double values.
Definition at line 22 of file int64x64-double.h.