CUBRID Engine
latest
Main Page
Namespaces
Classes
Files
File List
File Members
lcm.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
#ifndef HL_LCM_H
4
#define HL_LCM_H
5
6
#include "
gcd.h
"
7
8
namespace
HL
{
9
10
template
<
int
a,
int
b>
11
class
lcm
;
12
13
template
<
int
a,
int
b>
14
class
lcm
15
{
16
public
:
17
enum
{
VALUE
= (a * b) / (
gcd<a, b>::VALUE
) };
18
static
const
int
value
= (a * b) / (
gcd<a, b>::value
);
19
};
20
21
}
22
23
#endif
HL::lcm::VALUE
Definition:
lcm.h:17
HL::gcd
Definition:
gcd.h:9
HL::lcm
Definition:
lcm.h:11
HL
Definition:
heaplayers.h:34
HL::lcm::value
static const int value
Definition:
lcm.h:18
gcd.h
src
heaplayers
utility
lcm.h
Generated by
1.8.11