view modules/floorf-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 108bbfd6f03b
children 2a545b8a8c9e
line wrap: on
line source

Files:
tests/test-floorf1.c
tests/test-floorf2.c
tests/minus-zero.h
tests/nan.h
tests/signature.h
tests/macros.h

Depends-on:
float
isnanf-nolibm
stdbool
stdint

configure.ac:

Makefile.am:
TESTS += test-floorf1 test-floorf2
check_PROGRAMS += test-floorf1 test-floorf2
test_floorf1_LDADD = $(LDADD) @FLOORF_LIBM@
test_floorf2_LDADD = $(LDADD) @FLOORF_LIBM@