MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::math::pow2_scaling< T > Struct Template Reference

#include <pow2_scaling.hpp>

Static Public Member Functions

static int exponent (T m)
static T scale (T x, int k)

Member Function Documentation

◆ exponent()

template<std::floating_point T>
int mtl::math::pow2_scaling< T >::exponent ( T m)
inlinestatic

◆ scale()

template<std::floating_point T>
T mtl::math::pow2_scaling< T >::scale ( T x,
int k )
inlinestatic

The documentation for this struct was generated from the following file: