Mercurial > hg > octave-kai > gnulib-hg
annotate modules/array-list-tests @ 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 | a48d3d749ca5 |
children |
rev | line source |
---|---|
7867 | 1 Files: |
2 tests/test-array_list.c | |
12496
a48d3d749ca5
Refactor common macros used in tests.
Bruno Haible <bruno@clisp.org>
parents:
12445
diff
changeset
|
3 tests/macros.h |
7867 | 4 |
5 Depends-on: | |
8286
bd763d866c77
Avoid link error due to 'program_name'.
Bruno Haible <bruno@clisp.org>
parents:
7867
diff
changeset
|
6 progname |
7867 | 7 |
8 configure.ac: | |
9 | |
10 Makefile.am: | |
11 TESTS += test-array_list | |
12 check_PROGRAMS += test-array_list | |
13 |