Path: ...!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 11 Mar 2006 15:41:16 -0600 From: "P.J. Plauger" <pjp@dinkumware.com> Newsgroups: comp.lang.c,sci.math References: <1142111865.268411.276150@i39g2000cwa.googlegroups.com> Subject: Re: Implementation of functions in math.h on clc-wiki Date: Sat, 11 Mar 2006 16:41:16 -0500 Message-ID: <qeedncyY_d1h3o7ZRVn-uA@giganews.com> Lines: 20 "Gregory Pietsch" <GKP1@flash.net> wrote in message news:1142111865.268411.276150@i39g2000cwa.googlegroups.com... > I'm writing a portable implementation of the C standard library for > http://www.clc-wiki.net and I was wondering if someone could check the > functions in math.h for sanity/portability/whatever. I'm almost halfway > through writing the over 200 functions needed to implement C99's > version of math.h, and I would like to have some feedback and/or expert > advice on my implementations. At a quick glance, I'd say you're violating my copyright in the most blatant and irresponsible manner. If the infringing stuff isn't off the internet in short order, I will be taking legal action.
If we're going to do a 99.44%-standard-C math.h implementation, it would probably make more sense to start with the sun (bsd-licensed) math library, and convert it to not use bit-patterns to deal with IEEE 754. --Random832 23:20, 11 March 2006 (GMT)
In the header file, I took out everything that Plauger would have a beef about. Some of the other files look like Plauger's implementations, which is what I was worrying about.
The problem with some of the "free" math libraries out there like fdlibm is that they only provide functionality for C90 and/or don't handle extreme cases in a responsible manner like Plauger's library, so I was trying for a balance. Gregory Pietsch 01:44, 12 March 2006 (GMT)