MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::EmbeddableInto Concept Reference

EmbeddableInto: Target has more (or equal) significant digits than Source. More...

#include <projection.hpp>

Concept definition

template<typename Target, typename Source>
std::numeric_limits<Target>::digits >= std::numeric_limits<Source>::digits
EmbeddableInto: Target has more (or equal) significant digits than Source.
Definition projection.hpp:46

Detailed Description

EmbeddableInto: Target has more (or equal) significant digits than Source.

This validates that embed_into is a widening (lossless) conversion.