Document the new DPF surfaces in one command set, and test the field, half-tree, and multipoint edges.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ryan Henry 2026-09-24 23:18:10 -06:00
parent 0d8a5a8131
commit 0dff6df8ed
250 changed files with 12199 additions and 1981 deletions

View file

@ -82,6 +82,7 @@ template <typename T> static constexpr wildcard_value<T> wildcard{};
/// @details A trait class that provides the member constant `value` which is
/// equal to `true`, if `T` is a specialization of the `wildcard_value`
/// template and `false` otherwise.
/// @tparam T value type
/// @see dpf::is_wildcard_v
template <typename T> struct is_wildcard : std::false_type { };
template <typename T> struct is_wildcard<wildcard_value<T>> : std::true_type { };
@ -194,6 +195,7 @@ HEDLEY_PRAGMA(GCC diagnostic ignored "-Wignored-attributes")
static constexpr auto m256i = wildcard<simde__m256i>;
using m256d_t = wildcard_value<simde__m256d>;
static constexpr auto m256d = wildcard<simde__m256d>;
HEDLEY_PRAGMA(GCC diagnostic pop)
// using m512_t = wildcard_value<simde__m512>;
// static constexpr auto m512 = wildcard<simde__m512>;
@ -201,7 +203,6 @@ HEDLEY_PRAGMA(GCC diagnostic ignored "-Wignored-attributes")
// static constexpr auto m512i = wildcard<simde__m512i>;
// using m512d_t = wildcard_value<simde__m512d>;
// static constexpr auto m512d = wildcard<simde__m512d>;
HEDLEY_PRAGMA(GCC diagnostic pop)
using ieee_float_t = wildcard_value<float>;
/// @brief Placeholder for a `float` whose leaf group is bitwise XOR
@ -257,12 +258,15 @@ namespace utils
{
/// @brief specializes `dpf::utils::bitlength_of` for `dpf::wildcard_value`
/// @tparam T value type
template <typename T>
struct bitlength_of<wildcard_value<T>>
: public bitlength_of<T>
{ };
/// @brief specializes `dpf::utils::bitlength_of_output` for `dpf::wildcard_value`
/// @tparam T value type
/// @tparam NodeT GGM node type
template <typename T,
typename NodeT>
struct bitlength_of_output<wildcard_value<T>, NodeT>