NetBSD Problem Report #56577

From www@netbsd.org  Fri Dec 24 20:36:28 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 9A94A1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 24 Dec 2021 20:36:28 +0000 (UTC)
Message-Id: <20211224203627.2E02D1A923C@mollari.NetBSD.org>
Date: Fri, 24 Dec 2021 20:36:27 +0000 (UTC)
From: coypu@sdf.org
Reply-To: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Subject: Missing long double remainderl
X-Send-Pr-Version: www-1.0

>Number:         56577
>Category:       lib
>Synopsis:       Missing long double remainderl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 24 20:40:00 +0000 2021
>Last-Modified:  Fri May 19 19:40:01 +0000 2023
>Originator:     coypu
>Release:        NetBSD 9.99.92
>Organization:
>Environment:
NetBSD planets 9.99.92 NetBSD 9.99.92 (GENERIC) #0: Sun Dec 19 21:53:15 IST 2021  fly@planets:/bracket/obj/sys/arch/amd64/compile/GENERIC amd64

>Description:
> nm /usr/lib/libm.so |grep remainder
0000000000019660 T __ieee754_remainder
0000000000019630 T __ieee754_remainderf
0000000000017fba T remainder
0000000000017f59 T remainderf

No remainderl, long double variant.
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: Jim Spath <jspath55@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: lib/56577
Date: Fri, 19 May 2023 15:36:15 -0400

 This PR came up when I searched for math operation routines. The
 missing functions appear to still be missing in 10.0_BETA.

 $ nm /usr/lib/libm.so | grep remain
 000000000001cc80 T __ieee754_remainder
 000000000001cb70 T __ieee754_remainderf
 000000000001b530 T remainder
 000000000001b4c0 T remainderf

 I looked but could not find an automated test to cover this. If the
 long double remainder functions are a gap, does it make sense to add a
 test? It could be a shell script; the only wrinkle I can see would be
 stripped binaries with no symbols.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.