HIBF
1.0.0-rc.1
Loading...
Searching...
No Matches
next_multiple_of_64.hpp
1
// SPDX-FileCopyrightText: 2006-2024, Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
5
#pragma once
6
7
#include <
cstddef
>
// for size_t
8
9
#include <
hibf/platform.hpp
>
10
11
namespace
seqan::hibf
12
{
13
18
[[nodiscard]]
constexpr
size_t
next_multiple_of_64
(
size_t
const
value)
noexcept
19
{
20
return
((value + 63) >> 6) << 6;
21
}
22
23
}
// namespace seqan::hibf
cstddef
seqan::hibf::next_multiple_of_64
constexpr size_t next_multiple_of_64(size_t const value) noexcept
Returns the smallest integer that is greater or equal to value and a multiple of 64....
Definition
next_multiple_of_64.hpp:18
platform.hpp
Provides platform and dependency checks.
hibf
misc
next_multiple_of_64.hpp
Generated on Thu Aug 29 2024 00:01:59 for HIBF by
1.10.0