Commit Graph

44 Commits

Author SHA1 Message Date
Steven Watanabe
d67f8e7a50 Escape ':' 2018-02-07 09:55:52 -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
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
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
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
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
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
Steven Watanabe
204b1f1d62 Loosen the requirements on atan2. Fixes #3258
[SVN r54873]
2009-07-10 21:26:57 +00:00
Steven Watanabe
d0c5bdf1a6 Allow printing to wostream. Fixes #3089.
[SVN r53293]
2009-05-27 01:15:24 +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
69fa2d596a Attempt to isolate sun-5.7/8 problems
[SVN r50026]
2008-11-29 21:07:52 +00:00
Steven Watanabe
e5427e2efb Switch to BOOST_CHECK_CLOSE_FRACTION
[SVN r50025]
2008-11-29 20:45:12 +00:00
Steven Watanabe
2104806391 Clean up Jamfiles
[SVN r49998]
2008-11-28 21:16:48 +00:00
Steven Watanabe
27ab7e4050 Try to isolate the sun 5.7 and 5.8 failures
[SVN r47026]
2008-07-03 03:40:45 +00:00
Steven Watanabe
99adb3daaa Disable warnings=all so that the gcc stdcxx tests might pass
[SVN r46803]
2008-06-28 04:08:45 +00:00
Steven Watanabe
97b1f81854 Added Lambda interoperability header from Torsten Maehne
[SVN r46468]
2008-06-18 04:14:12 +00:00
Steven Watanabe
5f09980dc1 Turn on asynch-exceptions on msvc for the tests
[SVN r46227]
2008-06-08 03:37:48 +00:00
Steven Watanabe
a7e0a71181 Added failing test for a system with base units whose dimensions are more complex. MUST FIX
[SVN r45853]
2008-05-28 03:40:00 +00:00
Steven Watanabe
f009822495 Fix direct access to val_ inside operator-=
[SVN r45851]
2008-05-28 03:09:45 +00:00
Steven Watanabe
1514b8a4c0 Added unit scaling and updated metric prefixes accordingly
[SVN r45595]
2008-05-21 04:53:12 +00:00
Steven Watanabe
5637a09877 Fixed conversion definitions that use scaled base units
[SVN r45461]
2008-05-18 00:39:46 +00:00
Steven Watanabe
e2ad3a9280 *** Still Unstable *** initial implementation of scaled units
[SVN r45458]
2008-05-18 00:09:44 +00:00
Steven Watanabe
5a4b075414 Made conversions work whenever the corresponding base units are included
[SVN r45412]
2008-05-16 00:52:00 +00:00
Steven Watanabe
f9bcd9af5e Made use of a base unit as a unit fail early
[SVN r45361]
2008-05-14 20:18:26 +00:00
Steven Watanabe
70177ca23d Fixed most of remaining inspect problems
[SVN r44965]
2008-05-01 02:56:47 +00:00
Steven Watanabe
72b9124701 Added test of minimal add/subtract/multiply/divide unit
[SVN r44963]
2008-05-01 02:19:39 +00:00
Steven Watanabe
161ad2baef Fixed ICE on msvc 8.0 sp1 (Whew. Thanks to K.R. Walker for tracking it down)
[SVN r41670]
2007-12-03 22:51:58 +00:00
Steven Watanabe
6e14e5ae6d Added numeric_limits specialization
[SVN r41541]
2007-12-01 18:08:53 +00:00
Steven Watanabe
577c2f78e4 Update dimensionless functions in cmath.hpp
[SVN r39024]
2007-08-27 22:13:12 +00:00
Steven Watanabe
90bb9b8b9d Added BOOST_UNITS_DEFAULT_CONVERSION
[SVN r38910]
2007-08-24 17:30:18 +00:00
Steven Watanabe
68bec1f3af Lots of little fixes
[SVN r4370]
2007-05-30 22:31:24 +00:00
Steven Watanabe
6b76bb037f Make addition/subtraction of absolute temperatures fail
[SVN r4367]
2007-05-30 18:16:59 +00:00
Steven Watanabe
238952385e handle negative denominator correctly
[SVN r3983]
2007-04-21 18:49:14 +00:00
Steven Watanabe
a1f87c771c make sure that using an ordinal twice fails
[SVN r3966]
2007-04-15 01:53:58 +00:00
Steven Watanabe
fcd4479948 make sure that we can use base_dimension reliably
[SVN r3963]
2007-04-15 01:40:40 +00:00
Steven Watanabe
37cfe9fbbd Initial revision
[SVN r3788]
2007-03-16 18:29:12 +00:00