]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | [/ |
2 | / Copyright (c) 2008 Howard Hinnant | |
3 | / Copyright (c) 2006, 2008 Beman Dawes | |
4 | / Copyright (c) 2009-2011 Vicente J. Botet Escriba | |
5 | / | |
6 | / Distributed under the Boost Software License, Version 1.0. (See accompanying | |
7 | / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
8 | /] | |
9 | ||
10 | [library Boost.Ratio | |
11 | [quickbook 1.5] | |
12 | [version 2.1.0] | |
13 | [authors [Hinnant, Howard]] | |
14 | [authors [Dawes, Beman]] | |
15 | [authors [Botet Escriba, Vicente J.]] | |
16 | [copyright 2008 Howard Hinnant] | |
17 | [copyright 2006, 2008 Beman Dawes] | |
18 | [copyright 2009-2012 Vicente J. Botet Escriba] | |
19 | [category math] | |
20 | [id ratio] | |
21 | [dirname ratio] | |
22 | [purpose | |
23 | Compile time rational arithmetic. | |
24 | ] | |
25 | [license | |
26 | Distributed under the Boost Software License, Version 1.0. | |
27 | (See accompanying file LICENSE_1_0.txt or copy at | |
28 | [@http://www.boost.org/LICENSE_1_0.txt]) | |
29 | ] | |
30 | ] | |
31 | ||
32 | [/==================] | |
33 | [def __Boost_Ratio [*Boost.Ratio]] | |
34 | ||
35 | [/===============================================] | |
36 | ||
37 | [def __time_point `time_point`] | |
38 | [def __hours `hours`] | |
39 | ||
40 | [/===============================================] | |
41 | [def __ratio [link ratio.reference.std.ratio_hpp.ratio `ratio`]] | |
42 | ||
43 | [template ratio_conf[link_text] [link ratio.reference.std.ratio_hpp.conf [link_text]]] | |
44 | ||
45 | [def __BOOST_RATIO_USES_STATIC_ASSERT [link ratio.reference.config_hpp.assert `BOOST_RATIO_USES_STATIC_ASSERT`]] | |
46 | [def __BOOST_RATIO_USES_MPL_ASSERT [link ratio.reference.config_hpp.assert `BOOST_RATIO_USES_MPL_ASSERT`]] | |
47 | [def __BOOST_RATIO_USES_ARRAY_ASSERT [link ratio.reference.config_hpp.assert `BOOST_RATIO_USES_ARRAY_ASSERT`]] | |
48 | ||
49 | [def __BOOST_RATIO_EXTENSIONS [link ratio.reference.config_hpp.ext `BOOST_RATIO_EXTENSIONS`]] | |
50 | [def __BOOST_RATIO_PROVIDES_DEPRECATED_FEATURES_SINCE_V2_0_0 [link ratio.reference.config_hpp.deprecated `BOOST_RATIO_PROVIDES_DEPRECATED_FEATURES_SINCE_V2_0_0`]] | |
51 | [def __BOOST_RATIO_DONT_PROVIDE_DEPRECATED_FEATURES_SINCE_V2_0_0 [link ratio.reference.config_hpp.deprecated `BOOST_RATIO_DONT_PROVIDE_DEPRECATED_FEATURES_SINCE_V2_0_0 `]] | |
52 | [def __BOOST_RATIO_VERSION [link ratio.reference.config_hpp.version `BOOST_RATIO_VERSION `]] | |
53 | ||
54 | ||
55 | [template ratio_arithmetic[link_text] [link ratio.reference.std.ratio_hpp.ratio_arithmetic [link_text]]] | |
56 | [def __ratio_add [link ratio.reference.std.ratio_hpp.ratio_arithmetic `ratio_add`]] | |
57 | [def __ratio_subtract [link ratio.reference.std.ratio_hpp.ratio_arithmetic `ratio_subtract`]] | |
58 | [def __ratio_multiply [link ratio.reference.std.ratio_hpp.ratio_arithmetic `ratio_multiply`]] | |
59 | [def __ratio_divide [link ratio.reference.std.ratio_hpp.ratio_arithmetic `ratio_divide`]] | |
60 | [def __ratio_power [link ratio.reference.std.ratio_hpp.ratio_arithmetic `ratio_power`]] | |
61 | [def __ratio_negate [link ratio.reference.std.ratio_hpp.ratio_arithmetic `ratio_negate`]] | |
62 | [def __ratio_abs [link ratio.reference.std.ratio_hpp.ratio_arithmetic `ratio_abs`]] | |
63 | [def __ratio_sign [link ratio.reference.std.ratio_hpp.ratio_arithmetic `ratio_sign`]] | |
64 | [def __ratio_gcd [link ratio.reference.std.ratio_hpp.ratio_arithmetic `ratio_gcd`]] | |
65 | [def __ratio_lcm [link ratio.reference.std.ratio_hpp.ratio_arithmetic `ratio_lcm`]] | |
66 | ||
67 | ||
68 | [template ratio_comparison[link_text] [link ratio.reference.std.ratio_hpp.ratio_comparison [link_text]]] | |
69 | [def __ratio_equal [link ratio.reference.std.ratio_hpp.ratio_comparison `ratio_equal`]] | |
70 | [def __ratio_not_equal [link ratio.reference.std.ratio_hpp.ratio_comparison `ratio_not_equal`]] | |
71 | [def __ratio_less [link ratio.reference.std.ratio_hpp.ratio_comparison `ratio_less`]] | |
72 | [def __ratio_less_equal [link ratio.reference.std.ratio_hpp.ratio_comparison `ratio_less_equal`]] | |
73 | [def __ratio_greater [link ratio.reference.std.ratio_hpp.ratio_comparison `ratio_greater`]] | |
74 | [def __ratio_greater_equal [link ratio.reference.std.ratio_hpp.ratio_comparison `ratio_greater_equal`]] | |
75 | ||
76 | ||
77 | [template ratio_si_typedefs[link_text] [link ratio.reference.std.ratio_hpp.ratio_si_typedefs [link_text]]] | |
78 | [def __atto [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `atto`]] | |
79 | [def __femto [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `femto`]] | |
80 | [def __pico [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `pico`]] | |
81 | [def __nano [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `nano`]] | |
82 | [def __micro [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `micro`]] | |
83 | [def __milli [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `milli`]] | |
84 | [def __centi [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `centi`]] | |
85 | [def __deci [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `deci`]] | |
86 | [def __deca [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `deca`]] | |
87 | [def __hecto [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `hecto`]] | |
88 | [def __kilo [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `kilo`]] | |
89 | [def __mega [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `mega`]] | |
90 | [def __giga [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `giga`]] | |
91 | [def __tera [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `tera`]] | |
92 | [def __peta [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `peta`]] | |
93 | [def __exa [link ratio.reference.std.ratio_hpp.ratio_si_typedefs `exa`]] | |
94 | ||
95 | [def __kibi [link ratio.reference.std.ratio_hpp.ratio_iec_typedefs `kibi`]] | |
96 | [def __mebi [link ratio.reference.std.ratio_hpp.ratio_iec_typedefs `mebi`]] | |
97 | [def __gibi [link ratio.reference.std.ratio_hpp.ratio_iec_typedefs `gibi`]] | |
98 | [def __tebi [link ratio.reference.std.ratio_hpp.ratio_iec_typedefs `tebi`]] | |
99 | [def __pebi [link ratio.reference.std.ratio_hpp.ratio_iec_typedefs `pebi`]] | |
100 | [def __exbi [link ratio.reference.std.ratio_hpp.ratio_iec_typedefs `exbi`]] | |
101 | ||
102 |