Browse Source

Don't pull <math.h> just because it can return HUGE_VAL in the

corner cases.  OK millert@.
OPENBSD_5_3
martynas 11 years ago
parent
commit
b74edb3b39
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/lib/libc/stdlib/strtod.3

+ 2
- 3
src/lib/libc/stdlib/strtod.3 View File

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: strtod.3,v 1.16 2012/09/16 17:54:03 jmc Exp $
.\" $OpenBSD: strtod.3,v 1.17 2013/01/15 05:44:41 martynas Exp $
.\" .\"
.Dd $Mdocdate: September 16 2012 $
.Dd $Mdocdate: January 15 2013 $
.Dt STRTOD 3 .Dt STRTOD 3
.Os .Os
.Sh NAME .Sh NAME
@ -42,7 +42,6 @@
.Tn ASCII .Tn ASCII
string to double, float or long double string to double, float or long double
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <math.h>
.Fd #include <stdlib.h> .Fd #include <stdlib.h>
.Ft double .Ft double
.Fn strtod "const char *nptr" "char **endptr" .Fn strtod "const char *nptr" "char **endptr"


Loading…
Cancel
Save