NetBSD Problem Report #47122

From www@NetBSD.org  Wed Oct 24 22:57:02 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id ACAE463E476
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 24 Oct 2012 22:57:02 +0000 (UTC)
Message-Id: <20121024225702.23F7163CA81@www.NetBSD.org>
Date: Wed, 24 Oct 2012 22:57:02 +0000 (UTC)
From: darcy@NetBSD.org
Reply-To: darcy@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: libm missing lrintl
X-Send-Pr-Version: www-1.0

>Number:         47122
>Category:       lib
>Synopsis:       libm missing lrintl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 24 23:00:00 +0000 2012
>Last-Modified:  Sun Aug 13 07:50:00 +0000 2017
>Originator:     D'Arcy Cain
>Release:        current
>Organization:
The NetBSD Project
>Environment:
NetBSD dilbert.druid.net 6.99.14 NetBSD 6.99.14 (GENERIC) #0: Sat Oct 20 19:05:40 EDT 2012  door@dilbert.druid.net:/usr/NetBSD/cvs/src/sys/arch/amd64/compile/obj.amd64/GENERIC amd64

>Description:
The libm library is missing the lrintl function as described in http://pubs.opengroup.org/onlinepubs/9699919799/functions/lrintl.html.
>How-To-Repeat:
#include <math.h>
int main (void)
{
  long double x = 1.0;
  lrintl(x);
  return 0;
}

>Fix:

>Audit-Trail:
From: Brian Ginsbach <ginsbach@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: lib/47122
Date: Fri, 11 Aug 2017 21:50:53 +0000

 Is this PR still valid given a whole bunch of missing libm functions
 were added to in May 2017 from FreeBSD?

 --
 Brian Ginsbach
 ginsbach@netbsd.org

From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@NetBSD.org
Cc: lib-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, darcy@NetBSD.org
Subject: Re: lib/47122
Date: Sun, 13 Aug 2017 08:47:48 +0100

 On Fri, Aug 11, 2017 at 09:55:00PM +0000, Brian Ginsbach wrote:
 >  Is this PR still valid given a whole bunch of missing libm functions
 >  were added to in May 2017 from FreeBSD?

 Trying the "how-to-repeat" code on this month's -current suggests that this
 is still an issue.

 I would add log1pl and expm1l to the list as per

   http://mail-index.netbsd.org/netbsd-users/2017/07/21/msg019960.html

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.