# 2.11BSD#431 - /usr/src/new/PORT/B/src/bsmall/b0con.h

##### Macros

    BASE              X
    BIG               X
    CLEAR_EOF         X
    Dblbits           X
    LONG              X
    MAXNUMDIG         X
    MINNUMDIG         X
    Maxexpo           X
    Maxgonio          X
    Maxint            X
    Maxintlet         X
    Maxreal           X
    Minexpo           X
    RDBUFSIZE         X
    SAVEFILE          X
    SEED              X
    TXDBUFSIZE        X
    VOID              X
    tenlogBASE        X

##### typedef's

    expint            X

       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

- in /usr/src/new/PORT/B/src/bsmall/B1num.c line 155(2)

CLEAR_EOF defined in line 12; used 3 times

- in /usr/src/new/PORT/B/src/bsmall/b2cmd.c line 50
- in /usr/src/new/PORT/B/src/bsmall/b2scr.c line 54
- in /usr/src/new/PORT/B/src/bsmall/b2syn.c line 227

Dblbits defined in line 38; never used
LONG defined in line 23; used 1 times

- in /usr/src/new/PORT/B/src/bsmall/B1num.c line 154

MAXNUMDIG defined in line 24; used 5 times

- in /usr/src/new/PORT/B/src/bsmall/B1num.c line 156-161(2), 180-188(3)

MINNUMDIG defined in line 25; used 1 times

- in /usr/src/new/PORT/B/src/bsmall/B1num.c line 179

Maxexpo defined in line 36; never used
Maxgonio defined in line 45; never used
Maxint defined in line 48; used 2 times

- in /usr/src/new/PORT/B/src/bsmall/B1num.c line 43(2)

Maxintlet defined in line 47; used 7 times

- in /usr/src/new/PORT/B/src/bsmall/B1num.c line 53(2)
- in /usr/src/new/PORT/B/src/bsmall/B1val.c line 23-24(2), 140, 150
- in /usr/src/new/PORT/B/src/bsmall/b2exp.c line 315

Maxreal defined in line 35; never used
Minexpo defined in line 37; never used
RDBUFSIZE defined in line 50; used 2 times

- in /usr/src/new/PORT/B/src/bsmall/b2cmd.c line 18-19(2)

SAVEFILE defined in line 19; used 1 times

- in /usr/src/new/PORT/B/src/bsmall/b2fil.c line 70

SEED defined in line 53; never used
TXDBUFSIZE defined in line 51; used 2 times

- in /usr/src/new/PORT/B/src/bsmall/b2exp.c line 355-356(2)

VOID defined in line 8; used 19 times

- in /usr/src/new/PORT/B/src/bsmall/B1lis.c line 18
- in /usr/src/new/PORT/B/src/bsmall/b2err.c line 231
- in /usr/src/new/PORT/B/src/bsmall/b2loc.c line 50
- in /usr/src/new/PORT/B/src/bsmall/b2sig.c line 109-126(15)
- in /usr/src/new/PORT/B/src/bsmall/b2sou.c line 327

tenlogBASE defined in line 33; never used

#### Usage of this include

b0con.h used 12 times

- in /usr/src/new/PORT/B/src/bsmall/B1lis.c line 8
- in /usr/src/new/PORT/B/src/bsmall/B1num.c line 14
- in /usr/src/new/PORT/B/src/bsmall/B1val.c line 7
- in /usr/src/new/PORT/B/src/bsmall/b2cmd.c line 6
- in /usr/src/new/PORT/B/src/bsmall/b2err.c line 6
- in /usr/src/new/PORT/B/src/bsmall/b2exp.c line 6
- in /usr/src/new/PORT/B/src/bsmall/b2fil.c line 7
- in /usr/src/new/PORT/B/src/bsmall/b2loc.c line 6
- in /usr/src/new/PORT/B/src/bsmall/b2scr.c line 7
- in /usr/src/new/PORT/B/src/bsmall/b2sig.c line 7
- in /usr/src/new/PORT/B/src/bsmall/b2sou.c line 6
- in /usr/src/new/PORT/B/src/bsmall/b2syn.c line 7

Last modified: 1985-08-27 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 562 |