home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
- MODULE: rgetf.c
- PURPOSE: recio character delimited floating point input functions
- COPYRIGHT: (C) 1994 William Pierpoint
- COMPILER: Borland C Version 3.1
- OS: MSDOS Version 6.2
- VERSION: 2.00
- RELEASE: April 15, 1994
- *****************************************************************************/
-
- #include <ctype.h>
- #include <errno.h>
- #include <float.h>
- #include <limits.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-
- #include "_rgetf.h"
-
- /****************************************************************************/
- /* rget_fn() - define character delimited floating point get functions */
- /****************************************************************************/
- rget_fn( float, rgetf, 0.0, double, strtod,
- -FLT_MAX, -FLT_MIN, FLT_MIN, FLT_MAX)
- rget_fn( double, rgetd, 0.0, double, strtod,
- -DBL_MAX, -DBL_MIN, DBL_MIN, DBL_MAX)
-