1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */
   2: /* $Header: b0con.h,v 1.1 84/07/03 20:11:59 timo Exp $ */
   3: 
   4: /* Configuration file: some easy changes to the system                      */
   5: 
   6: /* VOID is used to keep lint quiet(er)                                      */
   7: /* if your compiler doesn't accept (void) delete "(void)" from the next line*/
   8: #define VOID
   9: 
  10: /* some un*xes demand that you reset stdin in some way if you get eof, and  */
  11: /* want to read from it still. If yours doesn't, delete "clearerr(stdin)"   */
  12: #define CLEAR_EOF clearerr(stdin)
  13: 
  14: /* Default editor: end the string with <space>+ if it accepts a line number */
  15: /* of the form +<number> before the file name when it is called		    */
  16: /* eg vi +10 myunit 							    */
  17: 
  18: /* temporary file to save an edited file in                                 */
  19: #define SAVEFILE ".b_temp"
  20: 
  21: /* 'Small' number package.  (Also used by output conversion of 'Big' pkg.)  */
  22: #define BIG 72057594037927935.0 /*Largest integral real number              */
  23: #define LONG 9999999999999999.5 /*Largest power of 10 less than BIG         */
  24: #define MAXNUMDIG 16        /*The number of 9's in LONG                 */
  25: #define MINNUMDIG  6        /*Don't change; this is here for consistency*/
  26: 
  27: /* Unbounded number package                                                 */
  28: /* BASE must be set for your machine so that BASE*BASE can be computed      */
  29: /* exactly as a double, and (BASE+BASE) and (-BASE-BASE) are computable     */
  30: /* with long integers. It must equal 10**tenlogBASE.                        */
  31: /* Maxreal, Maxexpo, Minexpo and Dblbits define properties of floating      */
  32: /* point arithmetic on your machine                                         */
  33: #define tenlogBASE 8    /*Change this and the next line together!*/
  34: #define BASE 100000000l
  35: #define Maxreal 1.7E38
  36: #define Maxexpo 127
  37: #define Minexpo (-128)
  38: #define Dblbits 56      /*Number of bits used for double precision */
  39: 
  40: /*Other definitions*/
  41: typedef int expint;     /*The 2nd argument of frexp points to this */
  42:                 /*(see manual page frexp(3)).              */
  43:                 /*On some 68K systems must be short (foo!) */
  44: 
  45: #define Maxgonio 1e16       /*Max x for sin(x), cos(x), tan(x)         */
  46: 
  47: #define Maxintlet ((1<<15)-1)   /*Largest short*/
  48: #define Maxint    ((1<<15)-1)   /*Largest int*/
  49: 
  50: #define RDBUFSIZE 500       /*Buffer used for read commands*/
  51: #define TXDBUFSIZE 100      /*Text displays*/
  52: 
  53: #define SEED getpid()       /*Any suitable random int (eg date or time) */
  54:                 /*to start the random number generator with */

Defined typedef's

expint defined in line 41; never used

Defined macros

BASE defined in line 34; never used
BIG defined in line 22; used 2 times
Dblbits defined in line 38; never used
LONG defined in line 23; used 1 times
MAXNUMDIG defined in line 24; used 5 times
MINNUMDIG defined in line 25; used 1 times
Maxexpo defined in line 36; never used
Maxgonio defined in line 45; never used
Maxint defined in line 48; used 2 times
Maxreal defined in line 35; never used
Minexpo defined in line 37; never used
RDBUFSIZE defined in line 50; used 2 times
SAVEFILE defined in line 19; used 1 times
SEED defined in line 53; never used
TXDBUFSIZE defined in line 51; used 2 times
tenlogBASE defined in line 33; never used

Usage of this include

Last modified: 1985-08-27
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2485
Valid CSS Valid XHTML 1.0 Strict