#include "common.h"#include "slog.h"Include dependency graph for slog.c:

Go to the source code of this file.
Functions | |
| int | slog (double val) |
| int | carefulSlog (double val) |
| double | invSlog (int scaledLog) |
Variables | |
| static char const | rcsid [] = "$Id: slog.c,v 1.4 2003/05/06 07:33:44 kate Exp $" |
| double | fSlogScale = 8192.0 |
| double | invSlogScale = 0.0001220703125 |
| int carefulSlog | ( | double | val | ) |
| double invSlog | ( | int | scaledLog | ) |
Definition at line 28 of file slog.c.
References invSlogScale.
00030 { 00031 return exp(scaledLog*invSlogScale); 00032 }
| int slog | ( | double | val | ) |
Definition at line 14 of file slog.c.
References fSlogScale, and round.
Referenced by carefulSlog(), dnaMark0(), dnaMark1(), and dnaMarkTriple().
00016 { 00017 return (round(fSlogScale*log(val))); 00018 }
Here is the caller graph for this function:

| double fSlogScale = 8192.0 |
| double invSlogScale = 0.0001220703125 |
char const rcsid[] = "$Id: slog.c,v 1.4 2003/05/06 07:33:44 kate Exp $" [static] |
1.5.2