Steven Watanabe
d67f8e7a50
Escape ':'
2018-02-07 09:55:52 -07:00
Steven Watanabe
eb006137ef
Merge remote-tracking branch 'muggenhor/constexpr' into develop
2018-01-10 09:30:29 -07:00
petamas
12dad9c1e2
Add unit test for Trac issue #10270 . (Test is failing by default, fix'll be in next commit.)
...
Details: https://svn.boost.org/trac10/ticket/10270
2018-01-02 17:22:23 +01:00
Jürgen Hunold
705b19bfdb
Add "Inf" and "NaN" as expected values for Oracle SunOS CC 12.5
2016-09-04 17:44:49 +02:00
Giel van Schijndel
86dbd8c04b
Use constexpr for name() and symbol()
2016-08-15 00:14:15 +02:00
Giel van Schijndel
595390497c
Add constexpr support
...
Ensuring that:
* it still works as before on C++98 and C++03
* C++11 "strict" constexpr is used where possible
- requires replacing { R x; return f(x); } with { return f(R()); }
* C++14 "relaxed" constexpr is used only where otherwise impossible
- assignment operators
- functions who's implementations require more than a single return
statement
2016-08-15 00:14:14 +02:00
Marek Kurdej
df670ade19
Remove trailing whitespace.
2015-08-26 17:33:02 +02:00
Marek Kurdej
47782f893c
Fix inspection warnings from http://boost.cowic.de/rc/docs-inspect-develop.html#units .
2015-08-26 17:31:27 +02:00
Steven Watanabe
423adb31c1
Remove incorrect indirection.
2015-02-25 11:38:35 -07:00
akumta
6207c7e66d
Update test_output.cpp
...
Per ticket #10913
2015-02-24 15:01:23 -08:00
Jürgen Hunold
4e4a127ee3
Merge pull request #15 from boostorg/pull-request/gcd-to-integer
...
Replace math::static_gcd references with integer::static_gcd
2015-01-19 16:06:29 +01:00
Jürgen Hunold
3a0c62ad87
remove unnecessary include provided by top-level Jamroot
2015-01-19 10:54:48 +01:00
Peter Dimov
9c291bc71b
Replace math::static_gcd references with integer::static_gcd
2015-01-18 19:34:52 +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
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
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
Marek Kurdej
af4b5bc4ea
Fix trivial unused variable warning in test/test_dimensionless_ice1.cpp.
2014-09-08 15:06:09 +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
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
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
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
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
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
Steven Watanabe
d0b7c06f12
Regexify testing of infinity and NaN. Refs #5037 .
...
[SVN r67668]
2011-01-05 00:14:20 +00:00
Steven Watanabe
58fbd6a362
Don't require std::abs for printing quantities. Fix test_output on Linux. Fixes #4785 .
...
[SVN r67558]
2011-01-02 02:33:14 +00:00
Steven Watanabe
2e74b803c3
Add overloads of inverse trig functions that take heterogeneous units and return the angles in radians. Fixes #3865
...
[SVN r62533]
2010-06-08 01:00:27 +00:00
Steven Watanabe
54c596ab5c
Merge the units/autoprefix branch back to the trunk. Fixes #3660 . Fixes #3707
...
[SVN r62532]
2010-06-07 23:49:52 +00:00
Steven Watanabe
878c840b09
Suppress warnings on msvc-7.1
...
[SVN r57618]
2009-11-12 23:01:53 +00:00
Steven Watanabe
515103a050
Turn on struct warning checks for all versions of msvc
...
[SVN r57389]
2009-11-04 23:34:24 +00:00
Steven Watanabe
bb309446bf
Make the tests more strict about warnings
...
[SVN r57388]
2009-11-04 23:11:13 +00:00
Troy D. Straszheim
ec34fad099
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
Steven Watanabe
bf5371fddc
Use base_unit_info when computing the name of a scaled base_unit. Fixes #3360 .
...
[SVN r55698]
2009-08-21 13:19:36 +00:00
Troy D. Straszheim
dab6092f9d
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
Steven Watanabe
a141d13861
Fix bug in handling of chained conversions involving a non-base homogeneous unit.
...
[SVN r55151]
2009-07-25 05:30:08 +00:00
Steven Watanabe
8bb7f08801
Fix msvc-7.1 regression
...
[SVN r55140]
2009-07-24 02:48:02 +00:00
Steven Watanabe
632407fb53
Loosen requirements on signbit to 0/nonzero instead of 0/1
...
[SVN r55097]
2009-07-22 21:59:15 +00:00
Steven Watanabe
204b1f1d62
Loosen the requirements on atan2. Fixes #3258
...
[SVN r54873]
2009-07-10 21:26:57 +00:00
Steven Watanabe
fc23cf7b94
Allow absolute to be printed to std::wostream. Fixes #3089
...
[SVN r53577]
2009-06-02 21:02:56 +00:00
Steven Watanabe
d0c5bdf1a6
Allow printing to wostream. Fixes #3089 .
...
[SVN r53293]
2009-05-27 01:15:24 +00:00
Troy D. Straszheim
c919a0cf0e
Merge cmake files release -> trunk.
...
[SVN r52866]
2009-05-09 22:57:30 +00:00
Steven Watanabe
59f81dea51
Fix return type for division by a constant
...
[SVN r51961]
2009-03-24 17:00:09 +00:00
Steven Watanabe
ac8c448e4f
Begin tracing xlc failure
...
[SVN r51189]
2009-02-10 21:47:42 +00:00
Steven Watanabe
2c8ba526ce
Zeroing in on bug with sun < 5.9
...
[SVN r51066]
2009-02-06 21:33:00 +00:00