Browse Source

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

corner cases.  OK millert@.
OPENBSD_5_3
martynas 12 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
.\" 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
.Os
.Sh NAME
@ -42,7 +42,6 @@
.Tn ASCII
string to double, float or long double
.Sh SYNOPSIS
.Fd #include <math.h>
.Fd #include <stdlib.h>
.Ft double
.Fn strtod "const char *nptr" "char **endptr"


Loading…
Cancel
Save