diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-04-12 23:59:36 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-04-12 23:59:36 +0000 |
commit | 9d8067d8f20139548df2a29b8800975ea410bc4c (patch) | |
tree | 1e5a86bb98c10098696e11d14e557da275901089 | |
parent | 6355131153fd618d50286f0f24ac49b405d03ee5 (diff) |
* manual/string.texi: Correct prototype in memmem documentation.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | PROJECTS | 27 | ||||
-rwxr-xr-x | config.guess | 32 |
3 files changed, 29 insertions, 31 deletions
@@ -170,6 +170,7 @@ * string/swab.c: Correctly handle array of odd length. * sysdeps/generic/memmem.c: Update copyright. + * manual/string.texi: Correct prototype in memmem documentation. 1997-04-10 20:22 Ulrich Drepper <drepper@cygnus.com> @@ -57,33 +57,12 @@ contact <bug-glibc@prep.ai.mit.edu> [ 7] Several math functions have to be written: - exp2 - - nearbyint - 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. + each with float, double, and long double arguments. 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): - - - 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)) - - 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. + ISO C 9X should be improved. Writing some of them in assembler is + useful to exploit the parallelism which often is available. [ 8] If you enjoy assembler programming (as I do --drepper :-) you might diff --git a/config.guess b/config.guess index a33514f246..5ef19b5a18 100755 --- a/config.guess +++ b/config.guess @@ -68,8 +68,20 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in echo m68k-cbm-netbsd${UNAME_RELEASE} exit 0 ;; amiga:OpenBSD:*:*) - echo m68k-cbm-openbsd${UNAME_RELEASE} - exit 0 ;; + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + arc:OpenBSD:*:*) + echo mips64el-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + laguna:OpenBSD:*:*) + echo mips64-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + pmax:OpenBSD:*:*) + echo mips64el-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + wgrisc:OpenBSD:*:*) + echo mips64el-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; @@ -118,19 +130,25 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in echo m68k-atari-netbsd${UNAME_RELEASE} exit 0 ;; atari*:OpenBSD:*:*) - echo m68k-atari-openbsd${UNAME_RELEASE} + echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sun3*:NetBSD:*:*) echo m68k-sun-netbsd${UNAME_RELEASE} exit 0 ;; sun3*:OpenBSD:*:*) - echo m68k-sun-openbsd${UNAME_RELEASE} + echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mac68k:NetBSD:*:*) echo m68k-apple-netbsd${UNAME_RELEASE} exit 0 ;; mac68k:OpenBSD:*:*) - echo m68k-apple-openbsd${UNAME_RELEASE} + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} @@ -378,8 +396,8 @@ EOF hp3[0-9][05]:NetBSD:*:*) echo m68k-hp-netbsd${UNAME_RELEASE} exit 0 ;; - hp3[0-9][05]:OpenBSD:*:*) - echo m68k-hp-openbsd${UNAME_RELEASE} + hp300:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; i?86:BSD/386:*:* | *:BSD/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |