File: LogUtils.hpp

package info (click to toggle)
pbseqlib 5.3.1%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,136 kB
  • sloc: cpp: 77,246; python: 570; makefile: 312; sh: 111; ansic: 9
file content (15 lines) | stat: -rw-r--r-- 368 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 <cmath>

#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_