NetBSD Problem Report #43807

From www@NetBSD.org  Fri Aug 27 19:16:14 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 7078663B89F
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 27 Aug 2010 19:16:14 +0000 (UTC)
Message-Id: <20100827191613.D557E63B89A@www.NetBSD.org>
Date: Fri, 27 Aug 2010 19:16:13 +0000 (UTC)
From: ekamperi@gmail.com
Reply-To: ekamperi@gmail.com
To: gnats-bugs@NetBSD.org
Subject: libm minor enhancements
X-Send-Pr-Version: www-1.0

>Number:         43807
>Category:       lib
>Synopsis:       libm minor enhancements
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 27 19:20:00 +0000 2010
>Originator:     Stathis Kamperis
>Release:        -5, -current
>Organization:
>Environment:
N/A at the moment
>Description:
I'm copying from here:
http://mail-index.netbsd.org/tech-userlevel/2010/08/23/msg003857.html

Hi everyone,

I have been continuing my work on libm (former gSoC project) and I
have a patch[1] that I'd like to share with you.
It's a bit mixed in terms of changes (sorry):

* Added a few missing MLINKS
* Rewritten some elementary complex functions to not rely on gcc
extentions (creal, cimag, conj)
* Implemented some new elementary real+complex functions (fabsl,
copysignl, cproj*)
* Probably the most important change, is the introduction of
nextafterl() and friends, that will allow us to measure[2] the ULPs of
the long double precision functions that will arrive soon
* Some tidy up here and there

The patch is WIP.
I'm sharing early to get feedback, as my build cycles are quite long
and I could batch changes :)

Thoughts on:

* Style (whether __ should be prepended to float_complex for instance
(it isn't strictly needed, but gives a visual hint on the custom
origin of the type))
* File layout (should cproj.c be split into cproj.c, cprojf.c, 
projl.c?)
* Everything else

are very welcome.

Best regards,
Stathis
____________________________________________________________
[1] http://leaf.dragonflybsd.org/~beket/netbsd/tmp10.diff
[2] 
http://netbsd-soc.sourceforge.net/projects/mathlib/#_error_estimation_of_libm_functions

>How-To-Repeat:

>Fix:
http://leaf.dragonflybsd.org/~beket/netbsd/tmp10.diff

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.