File: LogUtils.hpp

package info (click to toggle)
pbseqlib 0~20161219-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,924 kB
  • ctags: 5,123
  • sloc: cpp: 82,727; makefile: 305; python: 239; sh: 8
file content (15 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _BLASR_UTILS_SUM_OF_LOG_HPP_
#define _BLASR_UTILS_SUM_OF_LOG_HPP_

#include <math.h>

#define LOG_EPSILON   -30
#define LOG_EPSILON2  -8
#define LOG_EPSILON4  (logEpsilon/4.0)
#define LOG10 2.3025850929

double LogSumOfTwo(double value1, double value2); 

double LogSumOfThree(double value1, double value2, double value3); 

#endif // _BLASR_UTILS_SUM_OF_LOG_HPP_