Commit Graph

10598 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr.
8f6bcf630c [Bug 1786] Fix for os << (int64x64_t) and fractional arithmetic
Arithmetic with fractions was never tested and it had lots of bugs.
This patch set:

- Defines many more tests, giving complete coverage of all operations
  (signed/unsigned, integer, fractions, mixed)

- Replaces over-generous #define creation of functions with minimal
  set of C++ functions.

- Minimizes differences between implementations.

- Documents all functions.

int128 and cairo implementations agree exactly on all int64x64 tests,
and pass all ns-3 tests.

long double implementation agrees with the other two on most int64x64
tests; failures have to do with less precision in long doubles.
The prior double implementation failed five ns-3 tests:
	devices-mesh-dot11s-regression
	devices-mesh-flame-regression
	int64x64
	routing-aodv-regression
	routing-olsr-regression
This implementation fails routing-olsr-regression because of single
bit differences in the pcap files.
2014-01-29 19:09:35 -08:00
Peter D. Barnes, Jr.
7fe84f050c Allow doxygen to find generated include files, such as ns3/core-config.h 2014-01-29 18:58:31 -08:00
Peter D. Barnes, Jr.
f332b3cc2e Fix typos causing missing functions in cairo. 2014-01-29 17:47:09 -08:00
Peter D. Barnes, Jr.
dd3118a745 Update Time scaling usage to use new functions.
With out this patch these locations will become
broken by the upcoming fix to bug 1768.
2014-01-29 17:46:21 -08:00
Peter D. Barnes, Jr.
0d2691af8b Enable minimal scaling and ratios with Time 2014-01-29 17:44:18 -08:00
Peter D. Barnes, Jr.
9e3bec943f Emacs mode line. 2014-01-29 17:41:03 -08:00
Peter D. Barnes, Jr.
678da4f186 Mixing signed and unsigned types can lead to misleading results in NS_TEST macros. 2014-01-28 13:34:46 -08:00
Peter D. Barnes, Jr.
022f3ad024 Enable selection of high precision int64x64 implementation at configure time. 2014-01-28 12:51:47 -08:00
Tommaso Pecorella
d8d337c3d4 Updated RELEASE_NOTES 2014-01-26 18:22:04 +01:00
Tommaso Pecorella
ffba6c64ee Bug 1846 - IPv6 should send Destination Unreachable if no route is available 2014-01-26 18:19:03 +01:00
Peter D. Barnes, Jr.
3a447bbcc0 Enable tests to get the name of the parent suite. 2014-01-23 11:45:36 -08:00
Tommaso Pecorella
bbb25ddb08 Bug 1808: FlowMon relies on IPv4's Identification field to trace packets 2014-01-23 19:31:42 +01:00
Tommaso Pecorella
32a11da551 Update RELEASE_NOTES 2014-01-21 23:06:22 +01:00
Tommaso Pecorella
281f06e639 Bug 1841 - FlowMonitor fails to install if IPv4 is not installed in the node 2014-01-21 22:52:52 +01:00
Nicola Baldo
a9c97531cc merge 2014-01-20 11:19:13 +01:00
Daniel Lertpratchya
ad4c214b8a Update (most of) IEEE Std 802.11-2007 to IEEE Std 802.11-2012 2014-01-19 12:08:50 -05:00
John Abraham
6c81abe28a NetAnim: Update example to track counters for multiple nodes 2014-01-19 05:58:53 -08:00
John Abraham
39d721981d NetAnim: Add ability to skip all packet tracing 2014-01-18 20:03:20 -08:00
Tommaso Pecorella
db23930d21 [mq]: Rescan Python bindings 2014-01-16 19:10:18 +01:00
Tommaso Pecorella
2ce9615e73 Bug 1838 - FlowMonitorHelper must not be copied. 2014-01-16 09:46:21 +01:00
Juan C. Granda
123caf7cf3 Bug 1739 - The endpoint is not deallocated for UDP sockets 2014-01-15 23:35:55 +01:00
John Abraham
9ce6ffeb61 NetAnim: Update version to 3.105 2014-01-15 10:12:52 -08:00
John Abraham
1051191967 NetAnim: Switch default to 3.105 2014-01-15 10:12:07 -08:00
Tommaso Pecorella
a4f7e7dc47 Bug 1837 - AODV crashes when using multiple interfaces 2014-01-14 21:27:14 +01:00
John Abraham
97494a63ff NetAnim: Battery visualization for 3.105 2014-01-14 06:59:59 -08:00
John Abraham
50dce179c6 NetAnim: Add sample double counters in the example 2014-01-13 09:01:22 -08:00
Nicola Baldo
eae942732d clarified SpectrumSignalParameters usage in model docs 2014-01-13 17:10:49 +01:00
John Abraham
cc655b5c49 NetAnim: Implement Node Counter 2014-01-13 05:45:54 -08:00
Hajime Tazaki
341fcd0ce8 rescan bindings 2014-01-13 20:45:55 +09:00
Hajime Tazaki
5894f2b28b Bug 1826 - make ns3::Ipv6Interface independent from ns3::IPv6L3protocol
for DCE usage of ipv6 linux stack helper
2014-01-13 19:04:56 +09:00
John Abraham
63445557bc NetAnim: Demo example must use absolute path 2014-01-12 18:43:41 -08:00
Tom Henderson
b5108b031d rescan bindings 2014-01-12 15:03:49 -08:00
Tom Henderson
5df093ae50 remove header dependency 2014-01-10 15:08:04 -08:00
John Abraham
2b72b059ae NetAnim: Provide opacity setting for background 2014-01-12 11:25:42 -08:00
John Abraham
b24053a707 NetAnim: Add SetBackgroundImage 2014-01-12 10:06:27 -08:00
John Abraham
7885a9a847 NetAnim: Enable transition to 3.105 2014-01-11 07:35:34 -08:00
John Abraham
a8caac4db1 NetAnim: Remove obsolete checks for xml format 2014-01-11 06:26:58 -08:00
Peter D. Barnes, Jr.
22fe0b7120 Update RELEASE_NOTES 2014-01-10 17:26:22 -08:00
Peter D. Barnes, Jr.
f593f652a1 [Bug 1786] os << int64x64_t prints un-normalized fractional values 2014-01-10 17:24:06 -08:00
Peter D. Barnes, Jr.
472839ca28 Make Time printer ignore stream flags. 2014-01-10 17:22:45 -08:00
Peter D. Barnes, Jr.
27967f1c68 Test failure should show condition, actual value, *and* expected (limit) value. 2014-01-10 17:21:54 -08:00
Peter D. Barnes, Jr.
926f89eea2 Strip NS3_BUILDDIR from Example path. 2014-01-10 17:20:26 -08:00
Vedran Miletić
6acf41814e Move tests outside ns3 namespace 2014-01-02 18:34:30 +01:00
Tommaso Pecorella
7d415cd3ba Bug 1823 - IPv6 fails to work on NOARP NetDevices (revert changeset 9760) 2014-01-01 17:37:32 +01:00
Tommaso Pecorella
e22f63ffe4 Bug 1821 - Setting an interface to Down state will cause various asserts in IPv6 2013-12-31 19:48:09 +01:00
Nicola Baldo
58235a7b39 fixed unused variable + doxygen in cqa-ff-mac-scheduler.h 2013-12-24 18:36:25 +01:00
Nicola Baldo
fc244dde4d fixed Bug 1730 - no model library documentation for spectrum module 2013-12-24 18:22:02 +01:00
Nicola Baldo
eaa124d2bb fixed latexpdf build of LTE docs 2013-12-24 17:35:24 +01:00
Nicola Baldo
ff91dd3e26 fixed Bug 1820 - models library doc: make should not rm -rf figures by default 2013-12-24 17:29:54 +01:00
Nicola Baldo
c9e7103635 updated RELEASE_NOTES 2013-12-24 15:48:36 +01:00