Commit Graph

18 Commits

Author SHA1 Message Date
Steven Watanabe
eb006137ef Merge remote-tracking branch 'muggenhor/constexpr' into develop 2018-01-10 09:30:29 -07: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
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
akumta
6207c7e66d Update test_output.cpp
Per ticket #10913
2015-02-24 15:01:23 -08: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
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
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
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
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
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
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