cos_tablegen.c File Reference
#include <stdio.h>
#include <string.h>
#include <math.h>

Go to the source code of this file.

Macros

#define M_PI   3.14159265358979323846
#define BITS   16
#define FLOATFMT   "%.18e"
#define FIXEDFMT   "%6d"

Functions

static int clip_f15 (int v)
static void printval (double val, int fixed)
int main (int argc, char *argv[])

Macro Definition Documentation

#define BITS   16

Definition at line 30 of file cos_tablegen.c.

Referenced by main().

#define FIXEDFMT   "%6d"

Definition at line 32 of file cos_tablegen.c.

Referenced by printval().

#define FLOATFMT   "%.18e"

Definition at line 31 of file cos_tablegen.c.

Referenced by printval().

Function Documentation

static int clip_f15 ( int  v)
static

Definition at line 34 of file cos_tablegen.c.

Referenced by printval().

int main ( int  argc,
char *  argv[] 
)

Definition at line 50 of file cos_tablegen.c.

static void printval ( double  val,
int  fixed 
)
static

Definition at line 41 of file cos_tablegen.c.

Referenced by main().