Katzlab dd76ab1d12 Added PTL2 Scripts
These are PTL2 files from Auden 2/9
2023-02-14 11:20:52 -05:00

31 lines
431 B
C++

#ifdef LOGREP
#include "logRep.h"
#include <cmath>
//logRep::logRep()
//{
// _log = VERYSMALL2;
//}
//logRep::logRep(MDOUBLE a){
// _log = ((a==0.0) ? VERYSMALL2 : log(a));
//}
//logRep::logRep(const logRep& other): _log(other._log) {}
MDOUBLE convert(const logRep& a){
return exp(a.getLog());
}
ostream& operator<<(ostream &out, const logRep& a){
a.output(out);
return out;
}
#endif