diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-03-25 02:25:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-03-25 02:25:35 +0000 |
commit | 34b402e5a967b97fc73cc45fbef61bbeb8526f3d (patch) | |
tree | 73a03f61ce0cdcc0127d3cd7402597ebc8364570 /PROJECTS | |
parent | 4e1101a7dabfc438f32ef0ba0ab4f6a936ec38d6 (diff) | |
download | glibc-34b402e5a967b97fc73cc45fbef61bbeb8526f3d.tar.gz |
Update.cvs/libc-ud-970324-2
1997-03-24 19:58 Richard Henderson <rth@tamu.edu>
* stdlib/tst-strtol.c (tests): Correct 64-bit entry.
* sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
change to tst-setjmp.c.
* sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
* sysdeps/i386/dl-machine.h: Correct noexec_p comment.
* sysdeps/sparc/dl-machine.h: Likewise.
* sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
Add missing qs variable.
* sysdeps/libm-ieee754/s_remquof.c: Likewise.
Diffstat (limited to 'PROJECTS')
-rw-r--r-- | PROJECTS | 70 |
1 files changed, 60 insertions, 10 deletions
@@ -19,7 +19,16 @@ contact <bug-glibc@prep.ai.mit.edu> standards if they do not contradict each other. -[ 3] Write translations for the GNU libc message for the so far +[ 3] The IMHO opinion most important task is to write a more complete + test suite. We cannot get too many people working on this. It is + not difficult to write a test, find a definition of the function + which I normally can provide, if necessary, and start writing tests + to test for compliance. Beside this, take a look at the sources + and write tests which in total test as many paths of execution as + possible. + + +[ 4] Write translations for the GNU libc message for the so far unsupported languages. GNU libc is fully internationalized and users can immediately benefit from this. @@ -28,7 +37,7 @@ contact <bug-glibc@prep.ai.mit.edu> for the current status (of course better use a mirror of prep). -[ 4] Write wordexp() function; this is described in POSIX.2, the +[ 5] Write wordexp() function; this is described in POSIX.2, the header <wordexp.h> already exists. Implementation idea: use some functions from bash. @@ -36,7 +45,7 @@ contact <bug-glibc@prep.ai.mit.edu> **** Somebody is working on this. Help may or may not be appreciated. -[ 5] Write `long double' versions of the math functions. This should be +[ 6] Write `long double' versions of the math functions. This should be done in collaboration with the NetBSD and FreeBSD people. The libm is in fact fdlibm (not the same as in Linux libc). @@ -45,7 +54,42 @@ contact <bug-glibc@prep.ai.mit.edu> the rest. -[ 6] If you enjoy assembler programming (as I do --drepper :-) you might +[ 7] Several math functions have to be written: + + - exp2 + - log2 + + each with float, double, and long double arguments. Writing these + functions should be possible when following the implementation of + the existing exp/log functions for other bases. + + Beside this most of the complex math functions which are new in + ISO C 9X. gcc already has support for numbers of complex type so the + implementation should be possible today. I mention here the names + and the way to write them (argument is z = x + iy): + + - cexp(z) = e^x (cos y + i sin y) + - sin(z) = 1/(2i) (e^(iz) - e^-(iz)) = sin(x) cosh(y) + i cos(x) sinh(y) + - cos(z) = 1/2 (e^(iz) + e^-(iz)) = cos(x) cosh(y) - i sin(x) sinh(y) + - tan(z) = 1/i (e^(iz) - e^-(iz))/(e^(iz) + e^-(iz)) + - cot(z) = i (e^(iz) + e^-(iz))/(e^(iz) - e^-(iz)) + - asin(z) = -i ln(iz + sqrt(1-z^2)) + - acos(z) = -i ln(z + sqrt(z^2-1)) + - atan(z) = 1/(2i) ln((1+iz)/(1-iz)) + - acot(z) = -1/(2i) ln((iz+1)/(iz-1)) + - sinh(z) = 1/2 (e^z - e^-z) + - cosh(z) = 1/2 (e^z + e^-z) + - tanh(z) = (e^z - e^-z)/(e^z + e^-z) + - coth(z) = (e^z + e^-z)/(e^z - e^-z) + + All functions should we written with all the parallelism in mind. + And assembler versions are highly expreciated since, e.g., the ix87 + FPU provides an `fsincos' instructions which is certainly useful for + the `sin' function. The implementations for the normal math functions + shows other optimization techniques. + + +[ 8] If you enjoy assembler programming (as I do --drepper :-) you might be interested in writing optimized versions for some functions. Especially the string handling functions can be optimized a lot. @@ -60,38 +104,38 @@ contact <bug-glibc@prep.ai.mit.edu> work. -[ 7] Write nftw() function. Perhaps it might be good to reimplement the +[ 9] Write nftw() function. Perhaps it might be good to reimplement the ftw() function as well to share most of the code. **** Almost done! -[ 8] Write AVL-tree based tsearch() et.al. functions. Currently only +[10] Write AVL-tree based tsearch() et.al. functions. Currently only a very simple algorithm is used. There is a public domain version but using this would cause problems with the assignment. -[ 9] Extend regex and/or rx to work with wide characters and complete +[11] Extend regex and/or rx to work with wide characters and complete implementation of character class and collation class handling. It is planed to do a complete rewrite. -[10] Write access function for netmasks, bootparams, and automount +[12] Write access function for netmasks, bootparams, and automount databases for nss_files and nss_db module. The functions should be embedded in the nss scheme. This is not hard and not all services must be supported at once. -[11] Rewrite utmp/wtmp functions to use database functions. This is much +[13] Rewrite utmp/wtmp functions to use database functions. This is much better than the normal flat file format. **** There are plans for a new approach to this problem. Please contact bug-glibc@prep.ai.mit.edu before starting to work.) -[12] Several more or less small functions have to be written: +[14] Several more or less small functions have to be written: + tcgetid() and waitid() from XPG4.2 + grantpt(), ptsname(), unlockpt() from XPG4.2 @@ -99,3 +143,9 @@ contact <bug-glibc@prep.ai.mit.edu> + fmtmsg() from SVID More information are available on request. + + +[15] We need to write a library for on-the-fly transformation of streams + of text. In fact, this would be a recode-library (you know, GNU recode). + This is needed in several places in the GNU libc and I already have + rather concrete plans but so far no possibility to start this. |