Public Types | List of all members
blaze::CMathTrait< T > Struct Template Reference

Base template for the CMathTrait class.The CMathTrait template evaluates the return type of the mathematical functions defined in the C++ header <cmath> depending on the type of the template argument. In case of an integral data type or double precision argument, the return value of the functions is double, whereas the return type is float for single precision arguments and long double for long double precision arguments. More...

#include <CMathTrait.h>

Public Types

typedef double Type
 Return type of the <cmath> functions for integral and double arguments.
 

Detailed Description

template<typename T>
struct blaze::CMathTrait< T >

Base template for the CMathTrait class.

The CMathTrait template evaluates the return type of the mathematical functions defined in the C++ header <cmath> depending on the type of the template argument. In case of an integral data type or double precision argument, the return value of the functions is double, whereas the return type is float for single precision arguments and long double for long double precision arguments.

Template argument T Type
float float
integral data types and double double
long double long double

The documentation for this struct was generated from the following file: