2026-09-24 14:08:32 -06:00
|
|
|
/// @file grotto/gadgets/elementary/nonpositive.hpp
|
|
|
|
|
/// @author Ryan Henry <ryan.henry@ucalgary.ca>
|
2026-09-24 23:18:10 -06:00
|
|
|
/// @brief Cleartext reference for `nonpositive`.
|
2026-09-24 14:08:32 -06:00
|
|
|
/// @copyright Copyright (c) 2019-2023 Ryan Henry and others
|
|
|
|
|
/// @license Released under a GNU General Public v2.0 (GPLv2) license;
|
|
|
|
|
/// see [LICENSE.md](@ref GPLv2) for details.
|
|
|
|
|
|
|
|
|
|
#ifndef LIBDPF_INCLUDE_GROTTO_GADGETS_ELEMENTARY_NONPOSITIVE_HPP__
|
|
|
|
|
#define LIBDPF_INCLUDE_GROTTO_GADGETS_ELEMENTARY_NONPOSITIVE_HPP__
|
|
|
|
|
|
|
|
|
|
#include "leq.hpp"
|
|
|
|
|
|
|
|
|
|
namespace grotto
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
namespace gadgets
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
static constexpr double leq_target_zero = 0;
|
2026-09-24 23:18:10 -06:00
|
|
|
using nonpositive HEDLEY_DEPRECATED_FOR(2026, grotto::exact_constant) = leq<leq_target_zero>;
|
2026-09-24 14:08:32 -06:00
|
|
|
|
|
|
|
|
} // namespace gadgets
|
|
|
|
|
|
|
|
|
|
} // namespace grotto
|
|
|
|
|
|
|
|
|
|
#endif // LIBDPF_INCLUDE_GROTTO_GADGETS_ELEMENTARY_NONPOSITIVE_HPP__
|