A Discrete-Event Network Simulator
API
int64x64-test-suite.cc File Reference

int64x46 test suite More...

#include "ns3/int64x64.h"
#include "ns3/test.h"
#include "ns3/valgrind.h"
#include <cfloat>
#include <cmath>
#include <iomanip>
#include <limits>
+ Include dependency graph for int64x64-test-suite.cc:

Go to the source code of this file.

Classes

class  ns3::int64x64::test::Int64x64ArithmeticTestCase
 Test: basic arithmetic operations. More...
 
class  ns3::int64x64::test::Int64x64Bug1786TestCase
 Test case for bug 455. More...
 
class  ns3::int64x64::test::Int64x64Bug455TestCase
 Test case for bug 455. More...
 
class  ns3::int64x64::test::Int64x64Bug863TestCase
 Test case for bug 455. More...
 
class  ns3::int64x64::test::Int64x64CompareTestCase
 Test: basic compare operations. More...
 
class  ns3::int64x64::test::Int64x64DoubleTestCase
 Test: construct from floating point. More...
 
class  ns3::int64x64::test::Int64x64HiLoTestCase
 Test: manipulate the high and low part of every number. More...
 
class  ns3::int64x64::test::Int64x64ImplTestCase
 Test: print the implementation. More...
 
class  ns3::int64x64::test::Int64x64InputOutputTestCase
 Test: roundtrip int64x64_t numbers as strings. More...
 
class  ns3::int64x64::test::Int64x64InputTestCase
 Test: parse int64x64_t numbers as strings. More...
 
class  ns3::int64x64::test::Int64x64IntRoundTestCase
 Test: check GetInt and Round. More...
 
class  ns3::int64x64::test::Int64x64InvertTestCase
 Test: Invert and MulByInvert. More...
 
class  ns3::int64x64::test::Int64x64TestSuite
 
class  ns3::int64x64::test::Printer
 Pretty printer for test cases. More...
 

Namespaces

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

Macros

#define RUNNING_WITH_LIMITED_PRECISION   RUNNING_ON_VALGRIND
 Checks if running on Valgrind, which assumes long doubles are 64-bit doubles. More...
 

Functions

std::ostream & ns3::int64x64::test::operator<< (std::ostream &os, const Printer &p)
 

Variables

static Int64x64TestSuite ns3::int64x64::test::g_int64x64TestSuite
 Static variable for test initialization. More...
 

Detailed Description

int64x46 test suite

Definition in file int64x64-test-suite.cc.

Macro Definition Documentation

◆ RUNNING_WITH_LIMITED_PRECISION

#define RUNNING_WITH_LIMITED_PRECISION   RUNNING_ON_VALGRIND

Checks if running on Valgrind, which assumes long doubles are 64-bit doubles.

Definition at line 37 of file int64x64-test-suite.cc.