Mercurial > hg > octave-kai > gnulib-hg
view modules/threadlib @ 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 | 794059e94b36 |
children |
line wrap: on
line source
Description: Access to multithreading primitives. Files: lib/glthread/threadlib.c m4/threadlib.m4 build-aux/config.rpath Depends-on: havelib configure.ac-early: gl_THREADLIB_EARLY configure.ac: gl_THREADLIB Makefile.am: lib_SOURCES += glthread/threadlib.c Include: Link: $(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise License: LGPLv2+ Maintainer: Bruno Haible