Commit Graph

679 Commits

Author SHA1 Message Date
Marek Kurdej
9ba957d720 Add doc for boost/units/systems/information.hpp. 2014-11-06 12:22:02 +01:00
Marek Kurdej
2042d4d723 Fix documentation on information system units (not only base units). 2014-11-06 12:14:53 +01:00
Marek Kurdej
aaffc7fa6f Fix documentation on information system units. 2014-11-05 18:24:23 +01:00
Marek Kurdej
45058c08f7 Fix header guards and namespace trailing comments. 2014-11-03 13:59:10 +01:00
Jürgen Hunold
ff4e59f798 Merge remote-tracking branch 'origin/develop' 2014-10-14 18:17:20 +02:00
Jürgen Hunold
b40a90386c Fix display of heading
We have no fancy logo at the moment
2014-10-14 18:07:22 +02:00
Jürgen Hunold
7dd7692b91 Add github repository readme 2014-10-14 18:00:43 +02:00
Jürgen Hunold
53132e364b Merge remote-tracking branch 'origin/develop' 2014-10-14 08:42:06 +02:00
Jürgen Hunold
0bbc9a4697 Merge pull request #12 from mkurdej/fix/units-systems-information
Add information system units (bit, nat, ...)
2014-10-10 19:19:27 +02:00
Jürgen Hunold
8632931ef8 Merge remote-tracking branch 'origin/develop' 2014-09-30 08:47:00 +02:00
Jürgen Hunold
362ad4a35d Merge pull request #11 from mkurdej/fix/nan-output-msvc-14
Fix output of NaN on msvc-14.
Thanks!
2014-09-16 16:08:53 +02:00
Jürgen Hunold
31af6a68ff Merge pull request #2 from Lastique/patch-1
Port to Boost.Core demangle().
Thanks for the patch and the good discussion.
2014-09-16 16:06:15 +02:00
Andrey Semashev
0364b03dac Added a pseudo-test for typename formatting.
The test doesn't verify correctness of the output because the formatting result is platform-dependent. The test succeeds if the formatting code compiles and doesn't crash in typical use cases. The output correctness can be checked manually.
2014-09-16 15:18:44 +04:00
Andrey Semashev
f73cfe3775 Removed unused demangle() function. 2014-09-16 14:15:04 +04:00
Marek Kurdej
d2c4133592 Fix output of NaN on msvc-14.
See: http://blogs.msdn.com/b/vcblog/archive/2014/06/18/crt-features-fixes-and-breaking-changes-in-visual-studio-14-ctp1.aspx
2014-09-16 12:11:33 +02:00
Andrey Semashev
e7a6525f09 Worked around C4127 warning with MSVC. 2014-09-16 14:11:03 +04:00
Jürgen Hunold
295cb7211d Merge remote-tracking branch 'origin/develop' 2014-09-16 07:19:38 +02:00
Jürgen Hunold
4e00e307d7 Merge pull request #8 from mkurdej/fix/test-headers-missing-include-quantity
Fix test_headers: missing #include <boost/units/quantity.hpp>
2014-09-08 15:09:52 +02:00
Marek Kurdej
af4b5bc4ea Fix trivial unused variable warning in test/test_dimensionless_ice1.cpp. 2014-09-08 15:06:09 +02:00
Marek Kurdej
4d7b893e60 Fix test_headers: #include <boost/units/quantity.hpp> was missing and codata headers were not self-contained.
Move quantity template class default argument from quantity.hpp to units_fwd.hpp.
2014-08-26 14:43:25 +02:00
Marek Kurdej
96f04f1e48 Cosmetic change. 2014-08-26 09:33:50 +02:00
Marek Kurdej
e5b3c80466 Merge branch 'fix/units_systems_information' of https://github.com/MarekKurdej/units into fix/units_systems_information 2014-08-25 09:44:14 +02:00
Marek Kurdej
8280a87225 Add IEC 80000-13:2008 binary prefixes and test their formatting with boost::units::binary_prefix.
Signed-off-by: Marek Kurdej <mkurdej@users.noreply.github.com>
2014-08-25 09:41:24 +02:00
MarekKurdej
84d2227ccf Add IEC 80000-13:2008 binary prefixes and test their formatting with boost::units::binary_prefix. 2014-08-24 19:12:57 +02:00
Jürgen Hunold
2bf44a75bc include io.hpp for streaming operators 2014-08-22 11:44:17 +02:00
Jürgen Hunold
06e69ea2ee Merge pull request #5 from robin-eckert/cpp11limits
add support for C++11 numeric_limits::max_digits10 and ::lowest
2014-08-21 14:49:28 +02:00
Jürgen Hunold
48b58b631e update maintainer information 2014-08-21 14:31:24 +02:00
Jürgen Hunold
81da684b86 Merge pull request #7 from danieljames/metadata
Create metadata file.
2014-08-21 14:28:48 +02:00
Jürgen Hunold
562e7b3ae8 Finish git transition by merging open changes from develop.
Last outstanding were only applied on svn trunk.
2014-08-21 13:09:05 +02:00
Daniel James
d5d112502c Add metadata file. 2014-08-18 15:12:12 +01:00
Marek Kurdej
ffefa65ab2 [boost] [units] Added zebi and yobi IEC prefixes and corresponding tests. 2014-08-01 09:54:48 +02:00
Robin Eckert
e358e15c83 add support for C++11 numeric_limits::max_digits10 and ::lowest 2014-07-19 11:09:32 +02:00
Erik Erlandson
1932dc718c New unit system <boost/units/systems/information.hpp>
Defines base units and system units for: bit, byte, nat, hartley and shannon,
and scale units for binary prefixes kibi, mebi, gibi, tebi, pebi, exbi.
2014-06-18 14:14:12 -07:00
Andrey Semashev
3fafb02452 Port to Boost.Core demangle()
The change does several things:

- Makes use of the common demangle() implementation in Boost.Core.
- Fixes a memory leak if std::string constructor throws.
- Removes the dependency on Boost.Algorithm.
- Makes the behavior consistent for platforms with and without __cxa_demangle().
2014-06-11 22:39:51 +04:00
Beman Dawes
b6604806b3 Merge 86392 from trunk. The spirit change was not applied because the file is not present in branches/release.
[SVN r86489]
2013-10-27 21:10:04 +00:00
Beman Dawes
e77cb9f5f1 Add Boost.Build support for the Git modular layout, using links to to new header locations, thus preventing breakage to vast amounts of user code and build setups. Being added to SVN so that changes will automatically propagate to Git and modular Boost. Thanks to Steven Watanabe, Jürgen Hunold, Vladimir Prus, and Bjørn Roald for developing this patch. Steven in particular conceived the approach and did the initial implementation, which was further refined by the other contributors.
[SVN r86392]
2013-10-22 15:23:42 +00:00
Stephen Kelly
5eff6b3ff7 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#endif blocks.

[SVN r86243]
2013-10-11 23:13:10 +00:00
Stephen Kelly
03642ea547 Units: Remove obsolete GCC version check.
[SVN r86118]
2013-10-01 08:48:23 +00:00
Stephen Kelly
49094ef89b Remove use of BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
[SVN r85893]
2013-09-25 10:28:28 +00:00
Vladimir Prus
cab84c6ede Undo previous commit, it was meant for another branch
[SVN r85888]
2013-09-25 08:32:03 +00:00
Vladimir Prus
bd8a2fe5d5 Initial modular patch, from Bjorn.
[SVN r85884]
2013-09-25 08:13:57 +00:00
Steven Watanabe
f9dbc185c7 Merge units from the trunk.
[SVN r78342]
2012-05-05 21:45:23 +00:00
Steven Watanabe
5270414ebb Make pow and root work for constants.
[SVN r75814]
2011-12-05 16:56:55 +00:00
Steven Watanabe
36709d4d4f Never return one from conversion_factor.
[SVN r74159]
2011-08-30 15:07:48 +00:00
Steven Watanabe
297ff29eb6 Merge units from the trunk.
[SVN r71383]
2011-04-19 21:14:32 +00:00
Steven Watanabe
7525b0c564 Fix checking for double registration with clang in C++0x mode. Fixes #5436.
[SVN r71081]
2011-04-07 14:50:53 +00:00
Steven Watanabe
e4fd614972 Simplify the dispatching. Hopefully this will help intel.
[SVN r70795]
2011-03-31 18:28:33 +00:00
Steven Watanabe
2a286a8700 Add missing #include.
[SVN r70794]
2011-03-31 18:00:51 +00:00
Steven Watanabe
39cf42bbec Yet another inf/nan format.
[SVN r70793]
2011-03-31 17:59:07 +00:00
Matthias Schabel
001dec7fe6 remove spurious inclusion of <boost/units/io.hpp> and <iostream> in various unit system header files
[SVN r69643]
2011-03-08 01:23:00 +00:00