From owner-freebsd-numerics@freebsd.org Wed Feb 8 11:03:40 2017 Return-Path: Delivered-To: freebsd-numerics@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93A90CD63C7 for ; Wed, 8 Feb 2017 11:03:40 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 621B91BD6 for ; Wed, 8 Feb 2017 11:03:40 +0000 (UTC) (envelope-from mokhi64@gmail.com) Received: by mail-io0-x230.google.com with SMTP id j13so112817361iod.3 for ; Wed, 08 Feb 2017 03:03:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=5UEQ0H+g5lUNJOlIDx5s+yZDhW/9VmEijNLffdEEsTA=; b=VbkkHFe8GqqwHIhd7k/urxHhp4rxcxo4wBVRqy9u58xxthO/sRXVPVQDq+nKma86KU iMKOq7e+7BVbWlNFAlpzvtMRmheDs6DvPJ2S79mpB8j9QcpgFv8sKM3Zxk1sPo0eYQ/C feV61cpo35s4/Mi0jnD94CxWcWLxAXty4x8CJGc2aMlCbQK4JVN6VSuxmVRIhFeUBmeO chNFOvPdSFtaTdrkWEJddyUkhWwILUh0Us+qN2QB6fIhMN3QP2AuQJ+tKpdWeYgis3xM 3+IfIJAXmeXf5GAQExnsx67MjHOY289rDTgE6nxN8ns9LE2bhP+MsL2c75r7Z1p691nh i3gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5UEQ0H+g5lUNJOlIDx5s+yZDhW/9VmEijNLffdEEsTA=; b=NsUNe3FFzcCNELOvsHobjV8Tx+6igsvAqt7PIBdJ7RMV7kYykrWKqglTkQKsp1Mwp8 X0HMZzoBZgMc+/ZFgkQRR/AQ78jsn8kxtu87b5TBK5IqW7ASblppGWwGQ93tqrgDPds+ y9j4+29vq57og4pms7jCEkPihI8X0WSqbRTj+pEpt4+rMXo3dsDuLiuve6ZdWq54Yhch b9nEWG5WPp0EfNBHWyUFWUjtG4i6r3xb5KpDgL4MVt1OyLRJYrTBfZlK1xrcdMB4U7pY ZMdy/IJawmSyAWbeIP9hFo7JpOjtOSjKrO6csQYdVDxcrP0XxJHhyZ7hWF1QFAeeilb8 PzeQ== X-Gm-Message-State: AMke39nzWuaWdBrhmu7ZiDfV9U2GOkP+rgE4I2kHP1uSXYxX5yNOTgF4wVf7fQsVS/QiJQXPgRV+5wlLdn3uQw== X-Received: by 10.107.174.219 with SMTP id n88mr7994281ioo.132.1486551819632; Wed, 08 Feb 2017 03:03:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.146.134 with HTTP; Wed, 8 Feb 2017 03:03:39 -0800 (PST) From: mokhi Date: Wed, 8 Feb 2017 14:33:39 +0330 Message-ID: Subject: C11 conformance of casinl-like functions. To: freebsd-numerics@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 11:03:40 -0000 Hi. I recently saw bunch of PRs opened about C11 lack of conformance in FreeBSD on Bugzilla, complaining cosinl, acosinl, ... not implemented. I've searched about these and I found documents about them too[2][3]. Do you think we should implement them? Or standards doesn't have suggestions on these? If yes (you think we should implement them), would you suggest simply `strong aliasing symbols of FUNC_l to FUNC`? or implementing FUNC_l from scratch? I've made some patch based on my idea of aliasing symbols, If you agree I like to work on this and probably can start a review on phabricator for that. Thanks and best wishes, Mokhi. ========================================== [2] https://www.gnu.org/software/gnulib/manual/gnulib.html [3] http://pubs.opengroup.org/onlinepubs/9699919799/functions/casinhl.html and many more like this on opengroup.