about summary refs log tree commit diff
path: root/stdlib/gen-tst-strtod-round.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-08 17:24:49 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-08 17:24:49 +0000
commitfd91891a5091b5f54680180dc0c8e91827f63c70 (patch)
tree58e6b97571477fddca246f9c583ffe86c837e642 /stdlib/gen-tst-strtod-round.c
parent1b12cd7f4d210a743155d779b2225a0c18c416ff (diff)
downloadglibc-fd91891a5091b5f54680180dc0c8e91827f63c70.tar.gz
glibc-fd91891a5091b5f54680180dc0c8e91827f63c70.tar.xz
glibc-fd91891a5091b5f54680180dc0c8e91827f63c70.zip
Correct "inexact" expectations in lround, llround tests.
I noticed that some of my recently added tests of lround and llround
wrongly expected the "inexact" exception to be absent for certain
within-range non-integer arguments.  (It's unspecified whether this
exception is present or not for within-range non-integer arguments; it
mustn't be present for integer arguments and out-of-range arguments.)
This patch corrects those expectations.

Tested for x86_64 and x86.

	* math/libm-test.inc (lround_test_data): Do not expect the absence
	of "inexact" for some tests with non-integer arguments.
	(llround_test_data): Likewise.
Diffstat (limited to 'stdlib/gen-tst-strtod-round.c')
0 files changed, 0 insertions, 0 deletions