tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
llabs.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
3
#ifndef TETL_CSTDLIB_LLABS_HPP
4
#define TETL_CSTDLIB_LLABS_HPP
5
6
#include <
etl/_math/abs.hpp
>
7
8
namespace
etl
{
9
14
[[nodiscard]]
constexpr
auto
llabs
(
long
long
n)
noexcept
->
long
long
{
return
detail::abs_impl<long long>(n); }
15
16
}
// namespace etl
17
18
#endif
// TETL_CSTDLIB_LLABS_HPP
abs.hpp
etl
Definition
adjacent_find.hpp:8
etl::llabs
constexpr auto llabs(long long n) noexcept -> long long
Computes the absolute value of an integer number. The behavior is undefined if the result cannot be r...
Definition
llabs.hpp:14
include
etl
_cstdlib
llabs.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0