public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/30263] New: Add test coverage for abs(), labs(), and llabs().
@ 2023-03-22 20:49 carlos at redhat dot com
  2023-03-22 20:49 ` [Bug libc/30263] " carlos at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: carlos at redhat dot com @ 2023-03-22 20:49 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=30263

            Bug ID: 30263
           Summary: Add test coverage for abs(), labs(), and llabs().
           Product: glibc
           Version: 2.38
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

We should have test coverage for abs(), labs(), and llabs(), particularly
around all the transition points for each of the types e.g. int, long, long
long.

We currently don't have any tests for these functions, presumably because they
are simple, but we should still test them.

Tests should go into stdlib/ because that's where the implementation for the
functions exists. Tests should use the modern support/ test framework e.g.
#include <test-driver.c>.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-16 18:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-22 20:49 [Bug libc/30263] New: Add test coverage for abs(), labs(), and llabs() carlos at redhat dot com
2023-03-22 20:49 ` [Bug libc/30263] " carlos at redhat dot com
2023-03-22 22:20 ` joseph at codesourcery dot com
2023-05-16 18:57 ` siddhesh at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).