Mercurial > hg > octave-kai > gnulib-hg
view modules/vasprintf-posix @ 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 | be869a242af0 |
children | 53e09ee0d19a |
line wrap: on
line source
Description: POSIX compatible vsprintf with automatic memory allocation. Comment: This module should not be used as a dependency from a test module, otherwise when this module occurs as a tests-related module, it will have side effects on the compilation of the 'vasnprintf' module, if that module occurs among the main modules in lib/. Files: m4/vasprintf-posix.m4 m4/printf.m4 Depends-on: vasprintf vasnprintf isnand-nolibm isnanl-nolibm frexp-nolibm frexpl-nolibm printf-frexp printf-frexpl signbit fpucw nocrash printf-safe multiarch configure.ac: gl_FUNC_VASPRINTF_POSIX Makefile.am: Include: "vasprintf.h" License: LGPL Maintainer: Bruno Haible