src/simulator/high-precision-128.cc File Reference

#include "high-precision-128.h"
#include "ns3/test.h"
#include <math.h>
#include <iostream>
Include dependency graph for high-precision-128.cc:

Go to the source code of this file.

Classes

class  ns3::HighPrecision128Tests

Namespaces

namespace  ns3
 

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


Defines

#define CHECK_EXPECTED(v, expected)
#define V(v)   HighPrecision (v, false)

Variables

static HighPrecision128Tests ns3::g_int128Tests

Define Documentation

#define CHECK_EXPECTED ( v,
expected   ) 
Value:
{                                                                     \
    if (v.GetInteger () != expected)                                    \
      {                                                                 \
        Failure () << "file="<<__FILE__<<", line="<<__LINE__<<          \
          ", expected: "<<expected<<", got: "<< v.GetInteger ()<<std::endl; \
        result = false;                                                 \
      }                                                                 \
  }

Definition at line 225 of file high-precision-128.cc.

Referenced by ns3::HighPrecision128Tests::RunTests().

#define V (  )     HighPrecision (v, false)
Generated on Thu Dec 3 14:08:51 2009 for NS-3 by  doxygen 1.6.3