home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 423_01 / recio200 / rcgetf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-15  |  991 b   |  28 lines

  1. /*****************************************************************************
  2.    MODULE: rcgetf.c
  3.   PURPOSE: recio column delimited floating point input functions
  4. COPYRIGHT: (C) 1994 William Pierpoint
  5.  COMPILER: Borland C Version 3.1
  6.        OS: MSDOS Version 6.2
  7.   VERSION: 2.00
  8.   RELEASE: April 15, 1994
  9. *****************************************************************************/
  10.  
  11. #include <ctype.h>
  12. #include <errno.h>
  13. #include <float.h>
  14. #include <limits.h>
  15. #include <stdio.h>
  16. #include <stdlib.h>
  17. #include <string.h>
  18.  
  19. #include "_rcgetf.h"
  20.  
  21. /****************************************************************************/
  22. /* rcget_fn() - define floating point rcget functions                       */
  23. /****************************************************************************/
  24. rcget_fn( float, rcgetf, 0.0, double, strtod,
  25.        -FLT_MAX, -FLT_MIN, FLT_MIN, FLT_MAX)
  26. rcget_fn(double, rcgetd, 0.0, double, strtod,
  27.        -DBL_MAX, -DBL_MIN, DBL_MIN, DBL_MAX)
  28.