Mercurial > hg > octave-kai > gnulib-hg
view modules/wcsnrtombs @ 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 | 9deb67d8d0d7 |
children | 0d640e6da7d7 |
line wrap: on
line source
Description: wcsnrtombs() function: convert wide string to string. Files: lib/wcsnrtombs.c lib/wcsrtombs-state.c m4/wcsnrtombs.m4 m4/mbrtowc.m4 m4/mbstate_t.m4 m4/locale-ja.m4 m4/locale-zh.m4 m4/codeset.m4 Depends-on: extensions wchar wcrtomb configure.ac: gl_FUNC_WCSNRTOMBS gl_WCHAR_MODULE_INDICATOR([wcsnrtombs]) Makefile.am: Include: <wchar.h> License: LGPL Maintainer: Bruno Haible