]> git.ipfire.org Git - thirdparty/glibc.git/commit
stdlib: Add testcases for labs(). (BZ #30263)
authorJoe Simmons-Talbott <josimmon@redhat.com>
Tue, 4 Apr 2023 13:57:46 +0000 (09:57 -0400)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 16 May 2023 18:38:17 +0000 (14:38 -0400)
commitb11db301e162480d1812937ab0410dc7585f423c
tree136a79bebcddd27acb72db7de38974dea1e71d0d
parent0d21b3783f49ae94207a1bb9acd5dc8b071f0b13
stdlib: Add testcases for labs(). (BZ #30263)

Test minimum and maximum long values, zero, and part of the range
of long values.  Use '-fno-builtin' to ensure we are testing the
implementation.

Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
stdlib/Makefile
stdlib/tst-labs.c [new file with mode: 0644]