source: trunk/essentials/app-shells/bash/lib/sh/strtod.c@ 3247

Last change on this file since 3247 was 3231, checked in by bird, 19 years ago

eol style.

  • Property svn:eol-style set to native
File size: 4.4 KB
Line 
1/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software Foundation,
15 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
16
17#if HAVE_CONFIG_H
18# include <config.h>
19#endif
20
21#ifndef HAVE_STRTOD
22
23#include <errno.h>
24#ifndef errno
25extern int errno;
26#endif
27
28#include <chartypes.h>
29#include <math.h>
30
31#if HAVE_FLOAT_H
32# include <float.h>
33#else
34# define DBL_MAX 1.7976931348623159e+308
35# define DBL_MIN 2.2250738585072010e-308