public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Joe Simmons-Talbott <josimmon@redhat.com>
To: libc-alpha@sourceware.org
Cc: Joe Simmons-Talbott <josimmon@redhat.com>
Subject: [PATCH 0/3] Add tests for abs(), labs(), llabs() (BZ #30263)
Date: Mon,  3 Apr 2023 15:12:20 -0400	[thread overview]
Message-ID: <20230403191224.2108588-1-josimmon@redhat.com> (raw)

Add testcases for abs(), labs(), and llabs().  Test the bounds of the
given type, zero, and part of the full range of values for labs() and
llabs().  Test the full range for abs().

Joe Simmons-Talbott (3):
  stdlib: Add testcases for abs(). (BZ #30263)
  stdlib: Add testcases for labs(). (BZ #30263)
  stdlib: Add testcases for llabs(). (BZ #30263)

 stdlib/Makefile    |  7 +++++++
 stdlib/tst-abs.c   | 43 ++++++++++++++++++++++++++++++++++++++++
 stdlib/tst-labs.c  | 49 ++++++++++++++++++++++++++++++++++++++++++++++
 stdlib/tst-llabs.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 148 insertions(+)
 create mode 100644 stdlib/tst-abs.c
 create mode 100644 stdlib/tst-labs.c
 create mode 100644 stdlib/tst-llabs.c

-- 
2.39.2


             reply	other threads:[~2023-04-03 19:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-03 19:12 Joe Simmons-Talbott [this message]
2023-04-03 19:12 ` [PATCH 1/3] stdlib: Add testcases for abs(). " Joe Simmons-Talbott
2023-04-03 19:12 ` [PATCH 2/3] stdlib: Add testcases for labs(). " Joe Simmons-Talbott
2023-04-03 19:12 ` [PATCH 3/3] stdlib: Add testcases for llabs(). " Joe Simmons-Talbott
2023-04-03 20:01 [PATCH 0/3] Add tests for abs(), labs(), llabs() " Wilco Dijkstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230403191224.2108588-1-josimmon@redhat.com \
    --to=josimmon@redhat.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).