2
0
mirror of https://github.com/boostorg/units.git synced 2026-01-19 04:42:15 +00:00
Chris Lesiak b0b9c51646 Fix Errors in Why Homogeneous Systems
The FAQ entry on homogeneous systems asks the reader to consider the
following:

cout << sin(asin(180.0 * degrees));

There are two problems with this:
1.  It won't compile because asin does not take an angle.
2.  Even with the order of asin and sin swapped, the example is
    confusing because it isn't clear if the results should be
    180 degrees, or 0 degrees.

Improve the explanation by swapping sin and asin and using 90 degrees.
2018-01-02 17:40:20 +01:00
2018-01-02 17:40:20 +01:00
2015-08-26 17:33:02 +02:00
2007-08-11 20:13:40 +00:00
2014-08-21 14:31:24 +02:00
2008-05-19 00:30:13 +00:00
2017-10-17 12:38:37 +02:00
2016-11-11 08:04:40 +01:00
2007-03-16 18:22:42 +00:00
2017-10-17 12:38:37 +02:00
2008-06-20 03:57:42 +00:00
2017-10-17 12:38:37 +02:00

Boost.Units

Boost.Units, part of collection of the Boost C++ Libraries, implements dimensional analysis in a general and extensible manner, treating it as a generic compile-time metaprogramming problem. With appropriate compiler optimization, no runtime execution cost is introduced, facilitating the use of this library to provide dimension checking in performance-critical code.

Directories

  • doc - QuickBook documentation sources
  • example - examples
  • images - images for documention
  • include - Interface headers
  • test - unit tests
  • test_headers - unit tests for self containment of headers
  • tutorial - tutorial

Test results

@ Travis AppVeyor
master Build Status Build Status
develop Build Status Build Status
Coverity Scan Build Status

More information

License

Distributed under the Boost Software License, Version 1.0.

Description
Mirrored via gitea-mirror
Readme 6.7 MiB
Languages
C++ 99.6%
Shell 0.1%