A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://stotko.github.io/stdgpu/doxygen/group__bit_gaa3c39b5a76dd38f8bcd5c16fe153d32b.html below:

bit_width — stdgpu Latest documentation

bit_width# stdgpu: stdgpu::bit_width

stdgpu Latest

Efficient STL-like Data Structures on the GPU

bit_cast bit_ceil bit_floor bit_mod bit_width has_single_bit popcount ◆ bit_width()

template<typename T , STDGPU_DETAIL_OVERLOAD_IF(std::is_unsigned_v< T >) >

STDGPU_HOST_DEVICE T stdgpu::bit_width ( const T  number ) noexcept

Computes the smallest number of bits to represent the given number.

Parameters
[in] number A number
Returns
The smallest number of bits to represent the given number
Postcondition
result >= 0
result <= numeric_limits<T>::digits
Generated by  1.9.6

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4