|
| template<class T > |
| CUDA constexpr void | battery::swap (T &a, T &b) |
| |
| CUDA size_t | battery::strlen (const char *str) |
| |
| CUDA int | battery::strcmp (const char *s1, const char *s2) |
| |
| template<class T > |
| CUDA INLINE constexpr T | battery::min (T a, T b) |
| |
| template<class T > |
| CUDA INLINE constexpr T | battery::max (T a, T b) |
| |
| template<class T > |
| CUDA constexpr T | battery::isnan (T a) |
| |
| CUDA constexpr double | battery::pow (double a, double b) |
| |
| CUDA CONSTEXPR_NEXTAFTER float | battery::nextafter (float f, float dir) |
| |
| CUDA CONSTEXPR_NEXTAFTER double | battery::nextafter (double f, double dir) |
| |
| template<class To , class From , bool map_limits = true> |
| CUDA NI constexpr To | battery::ru_cast (From x) |
| |
| template<class To , class From , bool map_limits = true> |
| CUDA NI constexpr To | battery::rd_cast (From x) |
| |
| template<class T > |
| CUDA NI constexpr int | battery::popcount (T x) |
| |
| template<class T > |
| CUDA NI constexpr int | battery::countl_zero (T x) |
| |
| template<class T > |
| CUDA NI constexpr int | battery::countl_one (T x) |
| |
| template<class T > |
| CUDA NI constexpr int | battery::countr_zero (T x) |
| |
| template<class T > |
| CUDA NI constexpr int | battery::countr_one (T x) |
| |
| template<class T > |
| CUDA constexpr int | battery::signum (T val) |
| |
| template<class T > |
| CUDA NI constexpr T | battery::ipow (T a, T b) |
| |
| template<class T > |
| CUDA T | battery::iroots_down (T x, int r) |
| |
| template<class T > |
| CUDA T | battery::iroots_up (T x, int r) |
| |
| template<class T > |
| CUDA constexpr T | battery::add_up (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::add_down (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::sub_up (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::sub_down (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::mul_up (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::mul_down (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::div_up (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::div_down (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::tdiv (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::tmod (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::fdiv (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::fmod (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::cdiv (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::cmod (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::ediv (T x, T y) |
| |
| template<class T > |
| CUDA constexpr T | battery::emod (T x, T y) |
| |
| template<typename T > |
| CUDA NI void | battery::print (const T &t) |
| |
| template<> |
| CUDA NI void | battery::print (const bool &x) |
| |
| template<> |
| CUDA NI void | battery::print (const char &x) |
| |
| template<> |
| CUDA NI void | battery::print (const short &x) |
| |
| template<> |
| CUDA NI void | battery::print (const int &x) |
| |
| template<> |
| CUDA NI void | battery::print (const long long int &x) |
| |
| template<> |
| CUDA NI void | battery::print (const long int &x) |
| |
| template<> |
| CUDA NI void | battery::print (const unsigned char &x) |
| |
| template<> |
| CUDA NI void | battery::print (const unsigned short &x) |
| |
| template<> |
| CUDA NI void | battery::print (const unsigned int &x) |
| |
| template<> |
| CUDA NI void | battery::print (const unsigned long &x) |
| |
| template<> |
| CUDA NI void | battery::print (const unsigned long long &x) |
| |
| template<> |
| CUDA NI void | battery::print (const float &x) |
| |
| template<> |
| CUDA NI void | battery::print (const double &x) |
| |
| template<> |
| CUDA NI void | battery::print (char const *const &x) |
| |