Commit Graph

137 Commits

Author SHA1 Message Date
Steven Watanabe
9cbdd024c9 Test a simpler case before trying something more complex
[SVN r51031]
2009-02-05 19:34:18 +00:00
Steven Watanabe
438fb5ff95 Fix bug in handling of leading zeros.
[SVN r50486]
2009-01-05 18:12:46 +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
Michael A. Jackson
2b38c9f32c Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
008f5f3e93 Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
[SVN r49510]
2008-11-01 13:15:41 +00:00
Matthias Schabel
f065e96abc patch from Torsten Maehne for using dimensionless quantities with boost/units/lambda.hpp
[SVN r48226]
2008-08-19 18:45:17 +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
e634a7c6be Remove compiler specific code from cmath. Disable functions which cannot be implemented easily using Boost.Math
[SVN r46217]
2008-06-07 17:15:24 +00:00
Steven Watanabe
62619d2f1d Changed qualification in this expected-fail test so it fails for the right reason
[SVN r46208]
2008-06-07 05:17:18 +00:00
Steven Watanabe
c0def9821b Removed is_implicitly_convertible
[SVN r46151]
2008-06-05 02:54:01 +00:00
Steven Watanabe
2522092d5c Removed semicolon for gcc
[SVN r45988]
2008-05-31 20:01:42 +00:00
Steven Watanabe
2e73c09736 The problem I discovered on tuesday turns out to be a problem in my test case rather than the library. Added static assertions to catch such errors earlier
[SVN r45932]
2008-05-30 04:41:01 +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
16affec455 Added fix for como
[SVN r45848]
2008-05-28 02:31:51 +00:00
Steven Watanabe
ee66c7fc8b Fixed use of dim instead of heterogeneous_system_dim and added missing disambiguating overloads
[SVN r45803]
2008-05-27 00:50:33 +00:00
Steven Watanabe
e5825de722 Removed unneeded #include
[SVN r45794]
2008-05-26 22:21:44 +00:00
Steven Watanabe
e093637eac Allow for printing unit names
[SVN r45732]
2008-05-24 17:21:54 +00:00
Steven Watanabe
d63cd50345 Removed tabs
[SVN r45654]
2008-05-22 13:51:17 +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
006997a3fb Added missing calls to reduce_unit
[SVN r45563]
2008-05-19 20:24:28 +00:00
Matthias Schabel
217cf1173c namespace SI->si
[SVN r45553]
2008-05-19 18:46:24 +00:00
Steven Watanabe
1ff23c26cb Added missing file
[SVN r45549]
2008-05-19 17:20:35 +00:00
Matthias Schabel
9116a8344b minor
[SVN r45531]
2008-05-19 06:36:31 +00:00
Matthias Schabel
335cad2d87 should fix cmath.hpp issues
[SVN r45524]
2008-05-19 04:59:30 +00:00
Matthias Schabel
e4bcde0076 *** MAJOR ***
potentially breaking changes : rename SI/CGS namespaces to lowercase
remove some non-SI units (mostly obscure)

move base_units into boost/units
move physical_dimensions into boost/units
improved base_units for non-SI 

[SVN r45508]
2008-05-19 00:30:13 +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
5eb478c2b8 Updated references to base units
[SVN r45460]
2008-05-18 00:35:13 +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
4c37f648cd Made tests pass on cw 9.2
[SVN r45410]
2008-05-16 00:36:11 +00:00
Matthias Schabel
80ffd42077 update copyright notices, minor fixes in non-SI units
[SVN r45390]
2008-05-15 15:39:02 +00:00
Steven Watanabe
fba3f53b0e Removed the last traces of general implicit conversions
[SVN r45377]
2008-05-15 00:27:39 +00:00
Steven Watanabe
721b4d6180 Moved pow into its own directory
[SVN r45372]
2008-05-14 21:54:31 +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
71ba9fdd37 Use Boost.Math or std functions where appropriate
[SVN r45342]
2008-05-13 21:08:38 +00:00
Steven Watanabe
f2c39caf4c Removed old conversion macros
[SVN r45334]
2008-05-13 17:23:37 +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
2ef521f2f3 Fixed missing #include in expected-fail test case
[SVN r42800]
2008-01-15 21:01:41 +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
Matthias Schabel
3b0d202988 cleanup
[SVN r40169]
2007-10-19 00:25:44 +00:00
Steven Watanabe
776920f223 Block macro expansion
[SVN r39967]
2007-10-12 23:48:23 +00:00
Steven Watanabe
577c2f78e4 Update dimensionless functions in cmath.hpp
[SVN r39024]
2007-08-27 22:13:12 +00:00
Steven Watanabe
20d9504d53 Made BOOST_UNITS_DEFAULT_CONVERSION support scaling and made conversions work when only some base_units use it
[SVN r39017]
2007-08-27 19:57:18 +00:00
Steven Watanabe
90bb9b8b9d Added BOOST_UNITS_DEFAULT_CONVERSION
[SVN r38910]
2007-08-24 17:30:18 +00:00
Steven Watanabe
2e726c3429 Changed type to dimension_type in base_dimension
[SVN r38806]
2007-08-20 20:58:16 +00:00
Douglas Gregor
615f09a90e Set MIME types and end-of-line styles globally
[SVN r7018]
2007-06-12 22:09:40 +00:00
Steven Watanabe
266afd0633 Made heterogeneous->heterogeneous conversion work
[SVN r4417]
2007-06-02 01:25:15 +00:00
Steven Watanabe
937177f784 Remove tabs
[SVN r4393]
2007-05-31 19:22:49 +00:00
Matthias Schabel
f5b0c012a2 fix tests/examples
[SVN r4389]
2007-05-31 18:57:58 +00:00
Steven Watanabe
fceaeb2c0b Updated typedefs
[SVN r4384]
2007-05-31 18:33:40 +00:00
Matthias Schabel
f587a0033c examples and test run
[SVN r4381]
2007-05-31 16:46:48 +00:00
Steven Watanabe
50f05d26a2 Obliterate ordinal
[SVN r4371]
2007-05-30 23:12:51 +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
0113dbc59a Cleaned up directories
[SVN r4337]
2007-05-28 20:18:50 +00:00
Steven Watanabe
0464630c7c scaled_system->scaled_base_unit
[SVN r4254]
2007-05-25 18:41:11 +00:00
Steven Watanabe
d4a46a4bec New System Implemetation
[SVN r4228]
2007-05-24 20:45:58 +00:00
Steven Watanabe
238952385e handle negative denominator correctly
[SVN r3983]
2007-04-21 18:49:14 +00:00
Matthias Schabel
4e0a2fd03a narrowing conversions prohibited
[SVN r3980]
2007-04-18 22:24:43 +00:00
Matthias Schabel
56f582e216 correct example output, remove llrint/llround, add #includes to test_predicates
[SVN r3974]
2007-04-15 07:09:03 +00:00
Steven Watanabe
f70056f4d2 Supress implicit narrowing conversions
[SVN r3968]
2007-04-15 02:57:02 +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
0113ff4c02 new base_dimension and made all tests and examples pass
[SVN r3962]
2007-04-14 21:55:54 +00:00
Steven Watanabe
6628f20741 Switched to BOOST_UNITS_REGISTER_BASE_DIMENSION
[SVN r3933]
2007-04-12 20:42:29 +00:00
Matthias Schabel
b7b12ec06b change base dimension syntax
[SVN r3925]
2007-04-10 23:13:05 +00:00
Steven Watanabe
6e17dd676c More complete testing of heterogeneous, dimensionless conversions
[SVN r3918]
2007-04-09 17:59:26 +00:00
Steven Watanabe
10fec9516d Added test for simple heterogeneous, dimensionless conversions
[SVN r3917]
2007-04-09 16:53:00 +00:00
Steven Watanabe
71b626dcde Removed non-existant CGS units
[SVN r3902]
2007-04-04 23:50:22 +00:00
Steven Watanabe
75ce6b2117 Fixed namespaces
[SVN r3901]
2007-04-04 23:49:15 +00:00
Matthias Schabel
f52b61d17f change angle syntax, fundamental_dimension, etc...
[SVN r3895]
2007-04-04 20:06:57 +00:00
Matthias Schabel
6a88b16d7d removed deprecated quantity_cast usages
[SVN r3881]
2007-04-03 20:48:07 +00:00
Matthias Schabel
347b5210a2 improve SI compliance
[SVN r3875]
2007-04-03 17:12:57 +00:00
Matthias Schabel
4b64d9e164 remove mutating value() from test_dimensionless_quantity.cpp
[SVN r3851]
2007-03-30 16:53:03 +00:00
Steven Watanabe
ff7a0182c7 Added missing #include <boost/units/io.hpp>
[SVN r3840]
2007-03-29 20:07:43 +00:00
Steven Watanabe
f8a274c59b Added test for converting unit and value_type simultaniously
[SVN r3839]
2007-03-29 20:05:58 +00:00
Steven Watanabe
af90da6f9b Replaced mutating value with quantity_cast
[SVN r3838]
2007-03-29 20:03:27 +00:00
Matthias Schabel
402608c767 unit_info -> base_unit_info
[SVN r3823]
2007-03-29 17:10:55 +00:00
Steven Watanabe
37cfe9fbbd Initial revision
[SVN r3788]
2007-03-16 18:29:12 +00:00