Начало

This commit is contained in:
2022-09-30 10:23:30 +03:00
commit 5f47d6fa8e
20 changed files with 1202 additions and 0 deletions

10
include/pow/pow.hpp Normal file
View File

@@ -0,0 +1,10 @@
#pragma once
#include <cmath>
#include <type_traits>
template < typename T >
T pow(T v1, T v2) {
static_assert( std::is_arithmetic< T >::value, "Arithmetic type is required." );
return (pow(v1, v2));
}