2
0
mirror of https://github.com/boostorg/units.git synced 2026-01-31 08:42:20 +00:00
Commit Graph

131 Commits

Author SHA1 Message Date
Steven Watanabe
0af318d14c Merge units from trunk
[SVN r65898]
2010-10-11 14:55:01 +00:00
Steven Watanabe
d3e653b570 Full merge of units from the trunk. Revisions [51031], [51066], [51189], [52773], [53125], [53293], and [53577]
[SVN r53908]
2009-06-14 19:32:26 +00:00
Steven Watanabe
b1673bf763 Merge compiler workarounds, construction from a literal 0, and use of a couple Boost.Math functions from trunk
[SVN r50236]
2008-12-11 03:09:08 +00:00
Matthias Schabel
995783fe72 fix non-ASCII characters for symbols in comments
[SVN r47937]
2008-08-01 17:37:12 +00:00
Steven Watanabe
bf2e7e1310 Merge Jamfile fixes from trunk
[SVN r47209]
2008-07-08 04:41:15 +00:00
Steven Watanabe
60bff01a0b Hook up Units documentation
[SVN r46544]
2008-06-20 03:57:42 +00:00
Matthias Schabel
af82085e43 add example of use with Boost.Lambda
[SVN r46491]
2008-06-18 20:32:25 +00:00
Steven Watanabe
c0def9821b Removed is_implicitly_convertible
[SVN r46151]
2008-06-05 02:54:01 +00:00
Steven Watanabe
ddd1841097 Removed tabs
[SVN r46073]
2008-06-03 04:17:01 +00:00
Steven Watanabe
a2f61bec93 Workaround for msvc ADL bug
[SVN r46072]
2008-06-03 03:39:32 +00:00
Matthias Schabel
b1bebdde91 update documentation
[SVN r46029]
2008-06-01 17:47:45 +00:00
Matthias Schabel
fc27bd1d60 nothing wrong, just didn't understand the code at 3am...
[SVN r46015]
2008-06-01 16:23:06 +00:00
Matthias Schabel
9225505b1c remove stringstream stuff, minor fixes/updates
[SVN r46011]
2008-06-01 08:42:05 +00:00
Matthias Schabel
5222eef795 something funky going on here...need to fix
[SVN r46006]
2008-06-01 08:31:29 +00:00
Steven Watanabe
3401b59037 Fixes to the Unit documentation
[SVN r45991]
2008-05-31 21:36:28 +00:00
Matthias Schabel
d3099d2f3f add a typename_format formatter that outputs the unit typename (somewhat simplified, demangled on GCC only)
[SVN r45835]
2008-05-27 21:42:22 +00:00
Matthias Schabel
0095a7fb23 preliminary raw_format stuff (not working)
[SVN r45821]
2008-05-27 17:16:48 +00:00
Matthias Schabel
ba5e10127b note corrected behavior
[SVN r45808]
2008-05-27 03:55:38 +00:00
Steven Watanabe
66bcbcc231 Fixed copyright/licence
[SVN r45806]
2008-05-27 02:28:09 +00:00
Steven Watanabe
46d670be61 Removed tabs
[SVN r45805]
2008-05-27 02:09:20 +00:00
Steven Watanabe
587f865a12 io fixes
[SVN r45800]
2008-05-26 23:10:28 +00:00
Matthias Schabel
31777c4dfc note that we don't wan't symbol/name_string to work for quantities
[SVN r45797]
2008-05-26 22:55:50 +00:00
Steven Watanabe
a1a7e6fcb2 Added missing #includes
[SVN r45793]
2008-05-26 21:25:38 +00:00
Matthias Schabel
639ba63a13 fix type name demangling and replace boost regex with boost string_algo
[SVN r45787]
2008-05-26 19:48:23 +00:00
Matthias Schabel
cd8286dc77 minor tweaks
[SVN r45780]
2008-05-26 17:34:33 +00:00
Matthias Schabel
4e7ea1ff48 fix some problems with output
scaled unit/quantity output still has bugs, demonstrated in examples/composite_output.cpp

[SVN r45776]
2008-05-26 17:18:02 +00:00
Matthias Schabel
87000d9d6b rework I/O to use name_string and symbol_string free functions to create string representation of unit.
almost everything works, except a minor problem with scaled quantities

[SVN r45761]
2008-05-26 03:34:42 +00:00
Matthias Schabel
d79ae695a5 preliminary stuff for name_string/symbol_string
[SVN r45758]
2008-05-26 01:00:14 +00:00
Matthias Schabel
6d70e4f71e demo of problem with current method of overloading operator<< for unit output
[SVN r45751]
2008-05-25 21:00:32 +00:00
Steven Watanabe
0f1b618be2 Renamed dimension_list to list because its being used all over the place for lots of other purposes as well...
[SVN r45735]
2008-05-24 19:41:19 +00:00
Steven Watanabe
d63cd50345 Removed tabs
[SVN r45654]
2008-05-22 13:51:17 +00:00
Steven Watanabe
cbaf6b9acd Grrr... msvc 9.0 finds boost::math::pow by ADL
[SVN r45635]
2008-05-22 03:45:34 +00:00
Matthias Schabel
ffa1c04eaf shouldn't need explicit namespace qualification of pow now
[SVN r45597]
2008-05-21 05:33:34 +00:00
Steven Watanabe
1514b8a4c0 Added unit scaling and updated metric prefixes accordingly
[SVN r45595]
2008-05-21 04:53:12 +00:00
Matthias Schabel
1778849826 refactor physical dimensions out of SI electromagnetic units into separate physical_dimensions headers
fix namespace issue in examples/quaternion.cpp

[SVN r45593]
2008-05-21 03:59:19 +00:00
Matthias Schabel
a51156aa4b change to use base_unit::unit_type and get_system<>
[SVN r45590]
2008-05-20 21:30:29 +00:00
Steven Watanabe
006997a3fb Added missing calls to reduce_unit
[SVN r45563]
2008-05-19 20:24:28 +00:00
Matthias Schabel
6a43b40cd7 minor
[SVN r45562]
2008-05-19 20:17:03 +00:00
Matthias Schabel
7b23b5b961 rename namespace CODATA -> namespace codata for consistency
[SVN r45561]
2008-05-19 20:08:57 +00:00
Steven Watanabe
72903d3854 Cleared up regressions
[SVN r45551]
2008-05-19 18:26:19 +00:00
Matthias Schabel
4d516addf2 add BIPM official SI symbols from http://www1.bipm.org/en/si/si_brochure/chapter2/2-2/table3.html and some from http://www1.bipm.org/en/si/si_brochure/chapter2/2-2/table4.html
[SVN r45536]
2008-05-19 07:36:47 +00:00
Matthias Schabel
9116a8344b minor
[SVN r45531]
2008-05-19 06:36:31 +00:00
Matthias Schabel
cab5ae25df move SI trig functions into cmath.hpp
[SVN r45516]
2008-05-19 01:10:08 +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
e2ad3a9280 *** Still Unstable *** initial implementation of scaled units
[SVN r45458]
2008-05-18 00:09:44 +00:00
Matthias Schabel
6c125119e8 *** UNSTABLE *** modify non-SI units substantially
[SVN r45457]
2008-05-17 22:26:06 +00:00
Steven Watanabe
4c482a6f88 Renamed physical_units.hpp for consistency
[SVN r45428]
2008-05-16 15:51:01 +00:00
Steven Watanabe
05dfc72788 Removed all explicit ::unit_types from conversion definitions to keep msvc 7.1 happy
[SVN r45403]
2008-05-15 19:47:10 +00:00
Steven Watanabe
817a474701 Made examples pass on como 4.3.3
[SVN r45400]
2008-05-15 19:07:57 +00:00
Matthias Schabel
80ffd42077 update copyright notices, minor fixes in non-SI units
[SVN r45390]
2008-05-15 15:39:02 +00:00