A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
int64x64-cairo.cc File Reference
#include "int64x64-cairo.h"
#include "test.h"
#include "abort.h"
#include "assert.h"
#include "log.h"
#include <cmath>
#include <iostream>
#include "cairo-wideint.c"
+ Include dependency graph for int64x64-cairo.cc:

Go to the source code of this file.

Namespaces

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

Macros

#define OUTPUT_SIGN(sa, sb, ua, ub)
 

Functions

 NS_LOG_COMPONENT_DEFINE ("int64x64-cairo")
 

Macro Definition Documentation

#define OUTPUT_SIGN (   sa,
  sb,
  ua,
  ub 
)
Value:
({ bool negA, negB; \
negA = _cairo_int128_negative (sa); \
negB = _cairo_int128_negative (sb); \
ua = negA ? _cairo_uint128_negate (ua) : ua; \
ub = negB ? _cairo_uint128_negate (ub) : ub; \
(negA && !negB) || (!negA && negB); })
cairo_uint128_t I _cairo_uint128_negate(cairo_uint128_t a)
#define _cairo_int128_negative(a)
#define _cairo_int128_to_uint128(i)

Definition at line 36 of file int64x64-cairo.cc.

Function Documentation

NS_LOG_COMPONENT_DEFINE ( "int64x64-cairo"  )