Commit Graph

142 Commits

Author SHA1 Message Date
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
Steven Watanabe
fba3f53b0e Removed the last traces of general implicit conversions
[SVN r45377]
2008-05-15 00:27:39 +00:00
Steven Watanabe
8acf71ffa6 Renamed power_dimof_helper back to power_typof_helper
[SVN r45375]
2008-05-14 23:05:41 +00:00
Steven Watanabe
721b4d6180 Moved pow into its own directory
[SVN r45372]
2008-05-14 21:54:31 +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
b7d5f1a984 Put <warnings>all in again
[SVN r42903]
2008-01-21 18:50:46 +00:00
Steven Watanabe
3a34da9c22 Temporarily remove <warnings>all until ticket 1582 is resolved
[SVN r42871]
2008-01-19 22:42:08 +00:00
Steven Watanabe
3f2dc504da Reduced examples to 80 columns
[SVN r42870]
2008-01-19 22:35:35 +00:00
Steven Watanabe
ddd705dc05 Started reducing examples to 80 columns
[SVN r42803]
2008-01-15 21:23:30 +00:00
Matthias Schabel
2066a7ed26 comment out scalar/quantity multiplication and division operators for mixed types
[SVN r41811]
2007-12-06 22:59:36 +00:00
Matthias Schabel
3b0d202988 cleanup
[SVN r40169]
2007-10-19 00:25:44 +00:00
Steven Watanabe
ab3f37f601 made example/runtime_unit.cpp a little more friendly by adding a prompt
[SVN r39866]
2007-10-09 22:21:10 +00:00
Steven Watanabe
ec80e73cad Finish runtime_unit.cpp example
[SVN r38866]
2007-08-23 18:03:38 +00:00
Steven Watanabe
2e726c3429 Changed type to dimension_type in base_dimension
[SVN r38806]
2007-08-20 20:58:16 +00:00
Steven Watanabe
817c23b01e resurrect examples/measurement.hpp
[SVN r38744]
2007-08-17 17:15:23 +00:00
Steven Watanabe
dcc6a3f6fb remove measurement.hpp from examples
[SVN r38731]
2007-08-16 20:28:23 +00:00
Steven Watanabe
24e2221ded New examples--rename old ones
[SVN r38706]
2007-08-16 00:54:21 +00:00
Matthias Schabel
a3db84121d measurement.hpp is only used in libs/units/example - eliminate redundant header
[SVN r38666]
2007-08-14 23:06:53 +00:00
Steven Watanabe
597481dfee Updated examples augmented FAQ
[SVN r7566]
2007-07-27 18:28:50 +00:00
Matthias Schabel
5a9f82b505 edit comments
[SVN r4466]
2007-06-06 05:15:39 +00:00
Steven Watanabe
b314a92da4 Cleaned up #includes
[SVN r4459]
2007-06-05 22:21:39 +00:00
Steven Watanabe
60bba7516c msvc7.1 and cw9.2 are happy now
[SVN r4420]
2007-06-02 18:22:42 +00:00
Matthias Schabel
805df3d80d minor
[SVN r4399]
2007-05-31 20:25:34 +00:00
Steven Watanabe
ec639de021 Remove tabs
[SVN r4394]
2007-05-31 19:23:21 +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
Matthias Schabel
f587a0033c examples and test run
[SVN r4381]
2007-05-31 16:46:48 +00:00
Matthias Schabel
9ff9e16f01 make CODATA constants more granular
[SVN r4374]
2007-05-30 23:23:38 +00:00
Steven Watanabe
50f05d26a2 Obliterate ordinal
[SVN r4371]
2007-05-30 23:12:51 +00:00
Steven Watanabe
6b76bb037f Make addition/subtraction of absolute temperatures fail
[SVN r4367]
2007-05-30 18:16:59 +00:00
Steven Watanabe
046aa512bd Implemented bidirectional affine conversions
[SVN r4355]
2007-05-29 20:53:15 +00:00
Steven Watanabe
c6e6f524f1 changed absolute
[SVN r4339]
2007-05-28 22:55:04 +00:00
Steven Watanabe
0113dbc59a Cleaned up directories
[SVN r4337]
2007-05-28 20:18:50 +00:00
Steven Watanabe
effc583736 Made gcc happy
[SVN r4335]
2007-05-28 19:01:30 +00:00
Steven Watanabe
d4a46a4bec New System Implemetation
[SVN r4228]
2007-05-24 20:45:58 +00:00
Steven Watanabe
783d873757 Use base_dimension
[SVN r3984]
2007-04-21 18:50:54 +00:00
Steven Watanabe
42f9dd5e81 made constants safe to use before main
[SVN r3982]
2007-04-20 23:43:08 +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
0113ff4c02 new base_dimension and made all tests and examples pass
[SVN r3962]
2007-04-14 21:55:54 +00:00
Matthias Schabel
a64e52a107 minor changes
[SVN r3961]
2007-04-13 19:44:04 +00:00
Matthias Schabel
a9ba5cad1e changes to use granular headers
[SVN r3958]
2007-04-13 06:09:44 +00:00
Steven Watanabe
901dddb692 updated expected output
[SVN r3942]
2007-04-13 01:39:22 +00:00
Steven Watanabe
fefdd35163 remove std::setw
[SVN r3941]
2007-04-13 01:38:40 +00:00
Steven Watanabe
76f3855438 added third compile-fail for unit_example_15
[SVN r3940]
2007-04-13 01:16:53 +00:00
Steven Watanabe
57dc065826 suppress unused variable warnings
[SVN r3939]
2007-04-13 01:15:39 +00:00
Steven Watanabe
0e50dd1278 suppress warnings
[SVN r3936]
2007-04-13 00:51:35 +00:00
Steven Watanabe
394ef15066 Switched metafunctions to mpl
[SVN r3930]
2007-04-12 00:39:12 +00:00
Matthias Schabel
e4d565f026 added BOOST_UNITS_REGISTER_BASE_DIMENSION macro
[SVN r3927]
2007-04-11 21:25:10 +00:00
Matthias Schabel
b7b12ec06b change base dimension syntax
[SVN r3925]
2007-04-10 23:13:05 +00:00
Matthias Schabel
b8403ebe76 remove boost/units/measurement.hpp, move to libs/units/example
test conversion_factor<> function


[SVN r3912]
2007-04-05 21:56:15 +00:00
Matthias Schabel
109c0dd718 add measurement.hpp
[SVN r3910]
2007-04-05 21:09:34 +00:00
Matthias Schabel
17988682c7 remove redundant header
[SVN r3908]
2007-04-05 03:05:44 +00:00
Steven Watanabe
14dba2a46c Need to #include <limits>
[SVN r3907]
2007-04-05 00:37:32 +00:00
Steven Watanabe
0688a3e7f4 Removed unreferenced arguments
[SVN r3906]
2007-04-05 00:36:58 +00:00
Matthias Schabel
1f7c7000ce added two-tier quantity with frame and length unit
[SVN r3897]
2007-04-04 21:18:42 +00:00
Matthias Schabel
f52b61d17f change angle syntax, fundamental_dimension, etc...
[SVN r3895]
2007-04-04 20:06:57 +00:00
Steven Watanabe
84384bd338 qualified radians to avoid ambiguity with SI::radians
[SVN r3892]
2007-04-04 19:20:10 +00:00
Matthias Schabel
ec4a8ab356 include difeq solution in performance test, demonstrate specializing operator>> for ostreams
[SVN r3888]
2007-04-04 05:49:18 +00:00
Matthias Schabel
2bb7415688 use granular SI headers
[SVN r3887]
2007-04-03 23:14:00 +00:00
Matthias Schabel
9752b6d1df SI/CODATA additions
[SVN r3885]
2007-04-03 22:43:41 +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
d2a333f750 update
[SVN r3870]
2007-04-03 14:51:21 +00:00
Matthias Schabel
569e2d8f21 update examples
[SVN r3869]
2007-04-03 14:50:19 +00:00
Matthias Schabel
9c5f72f24c minor update
[SVN r3868]
2007-04-02 23:26:06 +00:00
Matthias Schabel
a1749a8ef5 temperature conversion code added
[SVN r3866]
2007-04-02 21:28:40 +00:00
Matthias Schabel
abb1a9aeb4 mu_m -> mu_mu
[SVN r3860]
2007-04-01 17:32:51 +00:00
Matthias Schabel
86bc97a18d minor fixes
[SVN r3855]
2007-03-30 23:50:10 +00:00
Steven Watanabe
0a7d7bc1cf Added new examples + tutorial
[SVN r3848]
2007-03-30 03:55:35 +00:00
Matthias Schabel
d8c92dbc26 minor fix
[SVN r3847]
2007-03-29 22:57:45 +00:00
Matthias Schabel
319bcd73d1 fixes for new angle implementation
[SVN r3845]
2007-03-29 22:41:06 +00:00
Steven Watanabe
1ad78d706a Updated quantity_casts
[SVN r3837]
2007-03-29 19:46:30 +00:00
Steven Watanabe
a4a7b69241 Replaced trival_reverse_conversion with trivial_conversion, define_reverse_automatically
[SVN r3836]
2007-03-29 19:44:05 +00:00
Steven Watanabe
39aff25b8c mpl_ -> mpl
[SVN r3835]
2007-03-29 19:41:23 +00:00
Matthias Schabel
af4818531e remove unnecessary include
[SVN r3834]
2007-03-29 19:39:28 +00:00
Matthias Schabel
402608c767 unit_info -> base_unit_info
[SVN r3823]
2007-03-29 17:10:55 +00:00
Matthias Schabel
cb3057ab89 demonstrates use of trivial_inverse_conversion
[SVN r3819]
2007-03-29 16:48:14 +00:00
Matthias Schabel
d6a22d2d95 miscellaneous examples demonstrating questions arising during Boost review
[SVN r3818]
2007-03-29 16:45:00 +00:00
Matthias Schabel
195d6a714c another user-defined unit example
[SVN r3817]
2007-03-29 16:43:42 +00:00
Steven Watanabe
37cfe9fbbd Initial revision
[SVN r3788]
2007-03-16 18:29:12 +00:00