home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / DKBSRC.ZIP / UNIX.C < prev    next >
C/C++ Source or Header  |  1991-05-04  |  619b  |  47 lines

  1. #include <math.h>
  2. #include "config.h"
  3.  
  4. void unix_init_dkb_trace PARAMS ((void))
  5.    {
  6.    }
  7.  
  8. int matherr (x)
  9.    struct exception *x;
  10.    {
  11.    switch(x->type) 
  12.      {
  13.      case DOMAIN:
  14.      case OVERFLOW:
  15.         x->retval = 1.0e17;
  16.         break;
  17.  
  18.      case SING:
  19.      case UNDERFLOW:
  20.         x->retval = 0.0;
  21.         break;
  22.  
  23.      default:
  24.         break;
  25.      }
  26.    return(1);
  27.    }
  28.  
  29. void display_finished ()
  30.    {
  31.    }
  32.  
  33. void display_init ()
  34.    {
  35.    }
  36.  
  37. void display_close ()
  38.    {
  39.    }
  40.  
  41. void display_plot (x, y, Red, Green, Blue)
  42.    int x, y;
  43.    char Red, Green, Blue;
  44.    {
  45.    }
  46.  
  47.