OSDN Git Service

math/_ delete
authorMyun2 <myun2@nwhite.info>
Tue, 29 May 2012 09:12:30 +0000 (18:12 +0900)
committerMyun2 <myun2@nwhite.info>
Tue, 29 May 2012 09:12:30 +0000 (18:12 +0900)
roast/include/roast/math/_/fraction.hpp [deleted file]
roast/include/roast/math/_/square_root.hpp [deleted file]

diff --git a/roast/include/roast/math/_/fraction.hpp b/roast/include/roast/math/_/fraction.hpp
deleted file mode 100644 (file)
index 8986b17..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-//     Roast+ License
-
-/*
-*/
-#ifndef __SFJP_ROAST__math__fraction_HPP__
-#define __SFJP_ROAST__math__fraction_HPP__
-
-namespace roast
-{
-       template <typename _NumeratorT=int, typename _DenominatorT=int>
-       class fraction_
-       {
-       protected:
-               typedef _NumeratorT _NumT;
-               typedef _DenominatorT _DenoT;
-               
-               _NumT m_numerator;
-               _DenoT m_denominator;
-       public:
-               fraction_(const _NumT& numerator, const _DenoT& denominator)
-                       : m_numerator(numerator), m_denominator(denominator){}
-               
-               
-       };
-       
-       /////////////////////
-       
-       typedef fraction_<> fraction, rational;
-}
-
-#endif//__SFJP_ROAST__math__fraction_HPP__
diff --git a/roast/include/roast/math/_/square_root.hpp b/roast/include/roast/math/_/square_root.hpp
deleted file mode 100644 (file)
index b4df684..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-//     Roast+ License
-
-/*
-*/
-#ifndef __SFJP_ROAST__math__square_root_HPP__
-#define __SFJP_ROAST__math__square_root_HPP__
-
-#include "roast/math/gcd_lcm.hpp"
-
-namespace roast
-{
-       template <typename T=int>
-       class square_root_
-       {
-       protected:
-               T m_root;
-       public:
-               square_root_(){}
-               square_root_(const T& root) : m_root(root){}
-       };
-       
-       /////////////////////
-       
-       typedef square_root_<> square_root;
-}
-
-#endif//__SFJP_ROAST__math__square_root_HPP__