home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / src / libgplus.5 / libgplus / etc / graph / tick_int.h < prev   
Encoding:
C/C++ Source or Header  |  1992-05-14  |  468 b   |  13 lines

  1. #include "math.h"
  2.  
  3. // The resolution of the output device is much less than seven digits.
  4. // A_HAIR_MORE is used to ingore the effects of round off error which should
  5. // occur in the last few of the 16 digits.
  6. #define A_HAIR_MORE 1.0000001
  7.  
  8. // TICK_INTERVAL returns the step size which can be used to put a
  9. // specified NO_OF_TICKS beteen the specified UPPER_LIMIT and LOWER_LIMIT.
  10.  
  11. double
  12. tick_interval (double no_of_ticks, double &lower_limit, double &upper_limit);
  13.