+++ /dev/null
-// 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__
+++ /dev/null
-// 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__