A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
int64x64.cc File Reference

Implementation of the streaming input and output operators for the ns3::int64x64_t type. More...

#include "int64x64.h"
#include "assert.h"
#include "log.h"
#include <iomanip>
#include <iostream>
#include <limits>
#include <sstream>
#include <stdint.h>
+ Include dependency graph for int64x64.cc:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Macros

#define HEXHILOW(hi, lo)
 Print the high and low words of an int64x64 in hex, for debugging.
 

Functions

std::ostream & ns3::operator<< (std::ostream &os, const int64x64_t &value)
 Output streamer for int64x64_t.
 
std::istream & ns3::operator>> (std::istream &is, int64x64_t &value)
 Input streamer for int64x64_t.
 
static uint64_t ns3::ReadHiDigits (std::string str)
 Read the integer portion of a number from a string containing just the integral digits (no decimal point or fractional part).
 
static uint64_t ns3::ReadLoDigits (std::string str)
 Read the fractional part of a number from a string containing just the decimal digits of the fractional part (no integral part or decimal point).
 

Detailed Description

Implementation of the streaming input and output operators for the ns3::int64x64_t type.

Definition in file int64x64.cc.