MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::math::LCM< A, B > Struct Template Reference

Template to get LCM of numbers. More...

#include <templates.hpp>

Static Public Attributes

static constexpr auto value = math::abs(A) * (math::abs(B) / GCD<A, B>::value)
 

Detailed Description

template<intmax_t A, intmax_t B>
struct mtcore::math::LCM< A, B >

Template to get LCM of numbers.

Result in static member value.

Template Parameters
Anumber a
BNumber b

Definition at line 57 of file templates.hpp.

Member Data Documentation

◆ value

template<intmax_t A, intmax_t B>
auto mtcore::math::LCM< A, B >::value = math::abs(A) * (math::abs(B) / GCD<A, B>::value)
staticconstexpr

Definition at line 58 of file templates.hpp.


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