From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B199C3858433; Wed, 22 Mar 2023 20:49:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B199C3858433 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679518174; bh=kHAXfbRyyblegk+oC7g1sgleL4n+voTVqecyKuSU0xA=; h=From:To:Subject:Date:From; b=fZOv59IMOGgAgs25W+xfohHao90WqtPhWshoKB2ETT2rEXacO911Fr3/4cdToUTzI gNgWTv3gIBXDBrMnRh8sAEJhIrwg7/HWV7MgN2LWdQdpQSerjw9ReAgNk/WN87sQIM VTxkBg39eMctVu23LtMGimpEbVJMTxHFVejheWXg= From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/30263] New: Add test coverage for abs(), labs(), and llabs(). Date: Wed, 22 Mar 2023 20:49:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30263 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 t= hey 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 . --=20 You are receiving this mail because: You are on the CC list for the bug.=