A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
int64x64-128.cc File Reference
#include "int64x64-128.h"
#include "abort.h"
#include "assert.h"
+ Include dependency graph for int64x64-128.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 MASK_HI   (~MASK_LO)
#define MASK_LO   ((((int128_t)1)<<64)-1)
#define OUTPUT_SIGN(sa, sb, ua, ub)

Macro Definition Documentation

#define MASK_HI   (~MASK_LO)

Definition at line 17 of file int64x64-128.cc.

#define MASK_LO   ((((int128_t)1)<<64)-1)

Definition at line 16 of file int64x64-128.cc.

#define OUTPUT_SIGN (   sa,
  sb,
  ua,
  ub 
)
Value:
({ bool negA, negB; \
negA = sa < 0; \
negB = sb < 0; \
ua = negA ? -sa : sa; \
ub = negB ? -sb : sb; \
(negA && !negB) || (!negA && negB); })

Definition at line 7 of file int64x64-128.cc.