File: LogUtils.hpp

package info (click to toggle)
pbseqlib 5.3.5%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,020 kB
  • sloc: cpp: 77,250; python: 331; sh: 103; makefile: 41
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_