cos_tablegen.c File Reference
#include <stdio.h>
#include <string.h>
#include <math.h>
Include dependency graph for cos_tablegen.c:

Go to the source code of this file.

Macros

#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 27 of file cos_tablegen.c.

Referenced by main().

#define FIXEDFMT   "%6d"

Definition at line 29 of file cos_tablegen.c.

Referenced by printval().

#define FLOATFMT   "%.18e"

Definition at line 28 of file cos_tablegen.c.

Referenced by printval().

Function Documentation

static int clip_f15 ( int  v)
static

Definition at line 31 of file cos_tablegen.c.

Referenced by printval().

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

Definition at line 47 of file cos_tablegen.c.

static void printval ( double  val,
int  fixed 
)
static

Definition at line 38 of file cos_tablegen.c.

Referenced by main().