timercos.c File Reference

#include "common.h"
#include <stdlib.h>
#include <stdio.h>
#include <sys.h>
#include <ctype.h>

Include dependency graph for timercos.c:

Go to the source code of this file.

Defines

#define BITSPERBYTE   8
#define BITS(type)   (BITSPERBYTE * (int)sizeof(type))
#define HIBITS   ((short)(1 << BITS(short) - 1))
#define HIBITI   (1 << BITS(int) - 1)
#define HIBITL   (1L << BITS(long) - 1)
#define MAXSHORT   ((short)~HIBITS)
#define MAXINT   (~HIBITI)
#define MAXLONG   (~HIBITL)
#define MAXDOUBLE   0.7237005577332262e+76
#define MAXFLOAT   ((float)0.7237005145e+76)
#define MINDOUBLE   5.3976053469342702e-79
#define MINFLOAT   ((float)MINDOUBLE)
#define _IEEE   0
#define _DEXPLEN   15
#define _HIDDENBIT   0
#define DMINEXP   (-(DMAXEXP + 1))
#define FMINEXP   (-(FMAXEXP + 1))
#define _FEXPLEN   15
#define DSIGNIF   (BITS(double) - _DEXPLEN + _HIDDENBIT - 1)
#define FSIGNIF   (BITS(float) - _FEXPLEN + _HIDDENBIT - 1)
#define DMAXPOWTWO
#define FMAXPOWTWO   ((float)(1L << FSIGNIF - 1))
#define DMAXEXP   ((1 << _DEXPLEN - 1) - 1 + _IEEE)
#define FMAXEXP   ((1 << _FEXPLEN - 1) - 1 + _IEEE)
#define LN_MAXDOUBLE   (M_LN2 * DMAXEXP)
#define LN_MINDOUBLE   (M_LN2 * (DMINEXP - 1))
#define H_PREC   (DSIGNIF % 2 ? (1L << DSIGNIF/2) * M_SQRT2 : 1L << DSIGNIF/2)
#define X_EPS   (1.0/H_PREC)
#define X_PLOSS   ((double)(long)(M_PI * H_PREC))
#define X_TLOSS   (M_PI * DMAXPOWTWO)
#define M_LN2   0.69314718055994530942
#define M_PI   3.14159265358979323846
#define M_SQRT2   1.41421356237309504880
#define MAXBEXP   DMAXEXP
#define MINBEXP   DMINEXP
#define MAXPOWTWO   DMAXPOWTWO
#define POW1_25LEN   7
#define STORE_PTR
#define GOT_DIGIT
#define RET_ZERO(val)   if (!val) return (0.0)

Functions

long time ()
void rt_prep_timer (void)
double rt_read_timer (char *str, len)
 bzero (str, n)
 perror (char *str)
 chmod (char *str, val)
char * sbrk (i)
double ldexp ()
double atof (char *p)


Detailed Description

To provide timing information for RT. THIS VERSION FOR Cray COS "C"

Definition in file timercos.c.


Generated on Mon Sep 18 01:25:09 2006 for BRL-CAD by  doxygen 1.4.6