Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::common::numeric_utils Namespace Reference

Classes

struct  MakeSigned
 
struct  MakeSigned< int128_t >
 
struct  MakeUnSigned
 
struct  MakeUnSigned< int128_t >
 

Concepts

concept  IsIntegral
 
concept  IsSigned
 
concept  IsUnSigned
 

Typedefs

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

Functions

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

Typedef Documentation

◆ MakeSignedT

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

◆ MakeUnSignedT

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

Function Documentation

◆ bitWidth()

template<typename T >
int kuzu::common::numeric_utils::bitWidth ( T x)
constexpr

◆ bitWidth< int128_t >()

template<>
int kuzu::common::numeric_utils::bitWidth< int128_t > ( int128_t x)
constexpr

◆ makeValueSigned()

template<typename T >
decltype(auto) kuzu::common::numeric_utils::makeValueSigned ( T value)

◆ makeValueUnSigned()

template<typename T >
decltype(auto) kuzu::common::numeric_utils::makeValueUnSigned ( T value)