00001
00002 #ifndef SYNAPS_ARITHM_FD_H
00003 #define SYNAPS_ARITHM_FD_H
00004
00005 #include <synaps/init.h>
00006 #include <synaps/arithm/Rg.h>
00007
00008 __BEGIN_NAMESPACE_SYNAPS
00009
00010 template<class T>
00011 struct Fd : public Rg<T>
00012 {
00013 Fd () :Rg() {}
00014 Fd (const Fd<T>& b) : Rg<T>(b) {}
00015 Fd (const T& t): Rg<T>(t) {}
00016 Fd (int si): Rg<T>(si) {}
00017 Fd (signed long sl): Rg<T>(sl) {}
00018 Fd (unsigned long ul): Rg<T>(ul) {}
00019 Fd (const char* str, unsigned int b=10): Rg<T>(str,b) {}
00020 Fd (double d) {init_set(rep(),d);}
00021
00022 ~Fd () {};
00023
00024 }
00025
00026
00027 __END_NAMESPACE_SYNAPS
00028
00029
00030 #endif // SYNAPS_ARITHM_FD_H
00031