Kùzu C++ API
Loading...
Searching...
No Matches
numeric_utils.h File Reference
#include <type_traits>
#include "int128_t.h"
#include "types.h"
#include <bit>
#include <concepts>

Go to the source code of this file.

Classes

struct  kuzu::common::numeric_utils::MakeSigned< T >
 
struct  kuzu::common::numeric_utils::MakeSigned< int128_t >
 
struct  kuzu::common::numeric_utils::MakeUnSigned< T >
 
struct  kuzu::common::numeric_utils::MakeUnSigned< int128_t >
 

Namespaces

namespace  kuzu
 
namespace  kuzu::common
 
namespace  kuzu::common::numeric_utils
 

Concepts

concept  kuzu::common::numeric_utils::IsIntegral
 
concept  kuzu::common::numeric_utils::IsSigned
 
concept  kuzu::common::numeric_utils::IsUnSigned
 

Typedefs

template<typename T >
using kuzu::common::numeric_utils::MakeSignedT = typename MakeSigned<T>::type
 
template<typename T >
using kuzu::common::numeric_utils::MakeUnSignedT = typename MakeUnSigned<T>::type
 

Functions

template<typename T >
decltype(auto) kuzu::common::numeric_utils::makeValueSigned (T value)
 
template<typename T >
decltype(auto) kuzu::common::numeric_utils::makeValueUnSigned (T value)
 
template<typename T >
constexpr int kuzu::common::numeric_utils::bitWidth (T x)
 
template<>
constexpr int kuzu::common::numeric_utils::bitWidth< int128_t > (int128_t x)