Automatic Differentiation
 
Loading...
Searching...
No Matches
is_floating_point.hpp File Reference
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 

Typedefs

template<typename T >
using stan::is_floating_point = std::is_floating_point< std::decay_t< T > >
 Checks if decayed type is a floating point type.
 

Variables

template<typename T >
constexpr bool stan::is_floating_point_v = stan::is_floating_point<T>::value
 
template<typename... Types>
constexpr bool stan::is_all_floating_point_v = (stan::is_floating_point_v<Types> && ...)
 
template<typename... Types>
constexpr bool stan::is_any_floating_point_v = (stan::is_floating_point_v<Types> || ...)