Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
ex_entropy.c File Reference
#include "nilorea/n_entropy.h"
#include "nilorea/n_log.h"
#include <math.h>
#include <string.h>
+ Include dependency graph for ex_entropy.c:

Go to the source code of this file.

Functions

static void approx (const char *label, double got, double want, double tol)
 
int main (void)
 

Variables

static int failures = 0
 

Function Documentation

◆ approx()

static void approx ( const char *  label,
double  got,
double  want,
double  tol 
)
static
Examples
ex_entropy.c.

Definition at line 35 of file ex_entropy.c.

References failures, LOG_ERR, and n_log.

Referenced by main().

+ Here is the caller graph for this function:

◆ main()

int main ( void  )

Definition at line 42 of file ex_entropy.c.

References approx(), failures, LOG_ERR, LOG_NOTICE, n_entropy_chi_square(), n_entropy_monobit(), n_entropy_shannon(), n_log, and set_log_level().

+ Here is the call graph for this function:

Variable Documentation

◆ failures

int failures = 0
static

Definition at line 33 of file ex_entropy.c.