]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.h
added qvalues to metastats. fixed bug with chimera.uchime location. fixed windows...
[mothur.git] / mothur.h
index f8ec32363516bcc6543569b57f313505796acef7..3b7c4599329aede91be3f6325d27df1accf77c03 100644 (file)
--- a/mothur.h
+++ b/mothur.h
@@ -85,6 +85,7 @@ using namespace std;
 #define isnan(x) ((x) != (x))
 #define isinf(x) (fabs(x) == std::numeric_limits<double>::infinity())
 
+
 typedef unsigned long ull;
 
 struct IntNode {
@@ -188,7 +189,8 @@ void convert(const string& s, T& x, bool failIfLeftoverChars = true){
                        throw BadConversion(s);
        
 }
-
+//**********************************************************************************************************************
+template <typename T> int sgn(T val){ return (val > T(0)) - (val < T(0)); }
 //**********************************************************************************************************************
 
 template<typename T>