#pragma once #include namespace fundamentals { [[nodiscard]] auto absolute_difference(int lhs, int rhs) -> int; [[nodiscard]] auto is_in_range(int value, int min, int max) -> bool; [[nodiscard]] auto count_set_bits(std::uint8_t value) -> int; [[nodiscard]] auto logical_and(bool lhs, bool rhs) -> bool; [[nodiscard]] auto logical_or(bool lhs, bool rhs) -> bool; } // namespace fundamentals