From owner-cvs-all@FreeBSD.ORG Fri Aug 20 02:26:49 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 960E416A4CE; Fri, 20 Aug 2004 02:26:49 +0000 (GMT) Received: from VARK.homeunix.com (adsl-69-107-96-255.dsl.pltn13.pacbell.net [69.107.96.255]) by mx1.FreeBSD.org (Postfix) with ESMTP id 200FE43D53; Fri, 20 Aug 2004 02:26:47 +0000 (GMT) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.13.1/8.12.10) with ESMTP id i7K2RVk5002331; Thu, 19 Aug 2004 19:27:31 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.13.1/8.12.10/Submit) id i7K2RV6M002330; Thu, 19 Aug 2004 19:27:31 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Thu, 19 Aug 2004 19:27:31 -0700 From: David Schultz To: Stefan Farfeleder Message-ID: <20040820022731.GA2314@VARK.homeunix.com> Mail-Followup-To: Stefan Farfeleder , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200408082005.i78K5lDQ023077@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408082005.i78K5lDQ023077@repoman.freebsd.org> cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include Makefile tgmath.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 02:26:49 -0000 On Sun, Aug 08, 2004, Stefan Farfeleder wrote: > stefanf 2004-08-08 20:05:47 UTC > > FreeBSD src repository > > Modified files: > include Makefile > Added files: > include tgmath.h > Log: > Implement C99's standard header . It provides type-generic macros > for the and functions that have float, double and long > double implementations. Such type-generic macros expand to an actual > function, depending on the types of the macro arguments, eg. if > is included, the invocation cos(1.0f) calls the function cosf(). Nice! Some regression tests might be nice, too, so people can easily verify that their changes to math.h don't break tgmath.h.