Mercurial > hg > octave-kai > gnulib-hg
view modules/inet_pton @ 13837:d7a891a411c1
strtod: work around icc bug
With optimization, ICC 10.0 mis-compiles 'cond ? -val : val' such
that a val of 0.0 doesn't result in -0.0.
* lib/strtod.c (minus_zero): Define to working value.
(strtod): Use it to avoid icc bug.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Fri, 05 Nov 2010 08:30:27 -0600 |
parents | 50f35a5ef466 |
children | ff4cf3c8b89b |
line wrap: on
line source
Description: Convert internet address from presentation to internal, binary, format. Files: lib/inet_pton.c m4/inet_pton.m4 Depends-on: c-ctype socklen sys_socket arpa_inet errno netinet_in extensions configure.ac: gl_FUNC_INET_PTON gl_ARPA_INET_MODULE_INDICATOR([inet_pton]) Makefile.am: License: LGPLv2+ Include: <arpa/inet.h> Link: $(INET_PTON_LIB) Maintainer: Simon Josefsson, glibc