rounded_operations< V > Struct Template Reference
#include <rounded.hpp>
List of all members.
Static Public Member Functions
- template<typename Op , typename C > static C rounded ()
- template<typename Op , typename C > static C rounded (const C &x1)
- template<typename Op , typename C > static C rounded (const C &x1, const C &x2)
- template<typename C > static C log2 ()
- template<typename C > static C pi ()
- template<typename C > static C euler ()
- template<typename C > static C catalan ()
- template<typename C > static C smallest ()
- template<typename C > static C largest ()
- template<typename C > static C accuracy ()
- template<typename C > static C add (const C &x1, const C &x2)
- template<typename C > static C sub (const C &x1, const C &x2)
- template<typename C > static C mul (const C &x1, const C &x2)
- template<typename C > static C div (const C &x1, const C &x2)
- template<typename C > static C square (const C &x)
- template<typename C > static C sqrt (const C &x1)
- template<typename C > static C cbrt (const C &x1)
- template<typename C > static C hypot (const C &x1, const C &x2)
- template<typename C > static C exp (const C &x1)
- template<typename C > static C exp2 (const C &x1)
- template<typename C > static C log (const C &x1)
- template<typename C > static C log2 (const C &x1)
- template<typename C > static C log10 (const C &x1)
- template<typename C > static C pow (const C &x1, const C &x2)
- template<typename C > static C cos (const C &x1)
- template<typename C > static C sin (const C &x1)
- template<typename C > static C tan (const C &x1)
- template<typename C > static C acos (const C &x1)
- template<typename C > static C asin (const C &x1)
- template<typename C > static C atan (const C &x1)
- template<typename C > static C atan2 (const C &x1, const C &x2)
- template<typename C > static C cosh (const C &x1)
- template<typename C > static C sinh (const C &x1)
- template<typename C > static C tanh (const C &x1)
- template<typename C > static C acosh (const C &x1)
- template<typename C > static C asinh (const C &x1)
- template<typename C > static C atanh (const C &x1)
- template<typename C > static C gamma (const C &x1)
- template<typename C > static C zeta (const C &x1)
- template<typename C > static C erf (const C &x1)
- template<typename C > static C floor (const C &x1)
- template<typename C > static C trunc (const C &x1)
- template<typename C > static C ceil (const C &x1)
- template<typename C > static C round (const C &x1)
- template<typename C , typename X1 > static C as (const X1 &x1)
- template<typename C , typename X1 > static C abs_as (const X1 &x1)
- template<typename C , typename X1 , typename X2 > static C add_as (const X1 &x1, const X2 &x2)
- template<typename C , typename X1 , typename X2 > static C sub_as (const X1 &x1, const X2 &x2)
Detailed Description
template<typename V>
struct mmx::rounded_operations< V >
Definition at line 230 of file rounded.hpp.
Member Function Documentation
static C abs_as |
( |
const X1 & |
x1 |
) |
[inline, static] |
Definition at line 341 of file rounded.hpp.
00341 {
00342 return V::template rounded_as<abs_as_op,C> (x1); }
static C accuracy |
( |
|
) |
[inline, static] |
Definition at line 259 of file rounded.hpp.
00259 {
00260 return rounded<accuracy_as_op,C> (); }
static C acos |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 297 of file rounded.hpp.
00297 {
00298 return rounded<acos_op> (x1); }
static C acosh |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 311 of file rounded.hpp.
00311 {
00312 return rounded<acosh_op> (x1); }
static C add |
( |
const C & |
x1, |
|
|
const C & |
x2 | |
|
) |
| | [inline, static] |
Definition at line 262 of file rounded.hpp.
00262 {
00263 return rounded<add_op> (x1, x2); }
static C add_as |
( |
const X1 & |
x1, |
|
|
const X2 & |
x2 | |
|
) |
| | [inline, static] |
Definition at line 346 of file rounded.hpp.
00346 {
00347 return V::template rounded_as<add_op,C> (x1, x2); }
static C as |
( |
const X1 & |
x1 |
) |
[inline, static] |
Definition at line 336 of file rounded.hpp.
00336 {
00337 return V::template rounded_as<as_op,C> (x1); }
static C asin |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 299 of file rounded.hpp.
00299 {
00300 return rounded<asin_op> (x1); }
static C asinh |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 313 of file rounded.hpp.
00313 {
00314 return rounded<asinh_op> (x1); }
static C atan |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 301 of file rounded.hpp.
00301 {
00302 return rounded<atan_op> (x1); }
static C atan2 |
( |
const C & |
x1, |
|
|
const C & |
x2 | |
|
) |
| | [inline, static] |
Definition at line 303 of file rounded.hpp.
00303 {
00304 return rounded<atan2_op> (x1, x2); }
static C atanh |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 315 of file rounded.hpp.
00315 {
00316 return rounded<atanh_op> (x1); }
static C catalan |
( |
|
) |
[inline, static] |
Definition at line 253 of file rounded.hpp.
00253 {
00254 return rounded<catalan_as_op,C> (); }
static C cbrt |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 275 of file rounded.hpp.
00275 {
00276 return rounded<cbrt_op> (x1); }
static C ceil |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 329 of file rounded.hpp.
00329 {
00330 return rounded<ceil_op> (x1); }
static C cos |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 291 of file rounded.hpp.
00291 {
00292 return rounded<cos_op> (x1); }
static C cosh |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 305 of file rounded.hpp.
00305 {
00306 return rounded<cosh_op> (x1); }
static C div |
( |
const C & |
x1, |
|
|
const C & |
x2 | |
|
) |
| | [inline, static] |
Definition at line 268 of file rounded.hpp.
00268 {
00269 return rounded<div_op> (x1, x2); }
static C erf |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 322 of file rounded.hpp.
00322 {
00323 return rounded<erf> (x1); }
static C euler |
( |
|
) |
[inline, static] |
Definition at line 251 of file rounded.hpp.
00251 {
00252 return rounded<euler_as_op,C> (); }
static C exp |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 279 of file rounded.hpp.
00279 {
00280 return rounded<exp_op> (x1); }
static C exp2 |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 281 of file rounded.hpp.
00281 {
00282 return rounded<exp2_op> (x1); }
static C floor |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 325 of file rounded.hpp.
00325 {
00326 return rounded<floor_op> (x1); }
static C gamma |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 318 of file rounded.hpp.
00318 {
00319 return rounded<gamma> (x1); }
static C hypot |
( |
const C & |
x1, |
|
|
const C & |
x2 | |
|
) |
| | [inline, static] |
Definition at line 277 of file rounded.hpp.
00277 {
00278 return rounded<hypot_op> (x1, x2); }
static C largest |
( |
|
) |
[inline, static] |
Definition at line 257 of file rounded.hpp.
00257 {
00258 return rounded<largest_as_op,C> (); }
static C log |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 283 of file rounded.hpp.
00283 {
00284 return rounded<log_op> (x1); }
static C log10 |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 287 of file rounded.hpp.
00287 {
00288 return rounded<log10_op> (x1); }
static C log2 |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 285 of file rounded.hpp.
00285 {
00286 return rounded<log2_op> (x1); }
static C log2 |
( |
|
) |
[inline, static] |
Definition at line 247 of file rounded.hpp.
00247 {
00248 return rounded<log2_as_op,C> (); }
static C mul |
( |
const C & |
x1, |
|
|
const C & |
x2 | |
|
) |
| | [inline, static] |
Definition at line 266 of file rounded.hpp.
00266 {
00267 return rounded<mul_op> (x1, x2); }
static C pi |
( |
|
) |
[inline, static] |
Definition at line 249 of file rounded.hpp.
00249 {
00250 return rounded<pi_as_op,C> (); }
static C pow |
( |
const C & |
x1, |
|
|
const C & |
x2 | |
|
) |
| | [inline, static] |
Definition at line 289 of file rounded.hpp.
00289 {
00290 return rounded<pow_op> (x1, x2); }
static C round |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 331 of file rounded.hpp.
00331 {
00332 return rounded<round_op> (x1); }
static C rounded |
( |
const C & |
x1, |
|
|
const C & |
x2 | |
|
) |
| | [inline, static] |
Definition at line 244 of file rounded.hpp.
00244 {
00245 return V::template rounded_as<Op,C> (x1, x2); }
static C rounded |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 239 of file rounded.hpp.
00239 {
00240 return V::template rounded_as<Op,C> (x1); }
static C rounded |
( |
|
) |
[inline, static] |
Definition at line 234 of file rounded.hpp.
00234 {
00235 return V::template rounded_as<Op,C> (); }
static C sin |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 293 of file rounded.hpp.
00293 {
00294 return rounded<sin_op> (x1); }
static C sinh |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 307 of file rounded.hpp.
00307 {
00308 return rounded<sinh_op> (x1); }
static C smallest |
( |
|
) |
[inline, static] |
Definition at line 255 of file rounded.hpp.
00255 {
00256 return rounded<smallest_as_op,C> (); }
static C sqrt |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 273 of file rounded.hpp.
00273 {
00274 return rounded<sqrt_op> (x1); }
static C square |
( |
const C & |
x |
) |
[inline, static] |
Definition at line 270 of file rounded.hpp.
00270 {
00271 return rounded<square_op> (x); }
static C sub |
( |
const C & |
x1, |
|
|
const C & |
x2 | |
|
) |
| | [inline, static] |
Definition at line 264 of file rounded.hpp.
00264 {
00265 return rounded<sub_op> (x1, x2); }
static C sub_as |
( |
const X1 & |
x1, |
|
|
const X2 & |
x2 | |
|
) |
| | [inline, static] |
Definition at line 351 of file rounded.hpp.
00351 {
00352 return V::template rounded_as<sub_op,C> (x1, x2); }
static C tan |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 295 of file rounded.hpp.
00295 {
00296 return rounded<tan_op> (x1); }
static C tanh |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 309 of file rounded.hpp.
00309 {
00310 return rounded<tanh_op> (x1); }
static C trunc |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 327 of file rounded.hpp.
00327 {
00328 return rounded<trunc_op> (x1); }
static C zeta |
( |
const C & |
x1 |
) |
[inline, static] |
Definition at line 320 of file rounded.hpp.
00320 {
00321 return rounded<zeta> (x1); }
The documentation for this struct was generated from the following file: