Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3E0751E1.D8B53800@phekda.freeserve.co.uk> Date: Mon, 23 Dec 2002 18:11:45 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: DJGPP workers , "K. B. Williams" Subject: K. B. Williams's C99 maths work: work-in-progress Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. K. B. Williams has released a work-in-progress of his C99 maths work: ftp://ftp.delorie.com/pub/djgpp/kbwilliams-newlongs_dt00.zip This archive contains two ZIP files, one containing the code and one containing the documentation. Please find below a diff for the documentation, which fixes a minor bug in it. Why is the modfl documentation included in the documentation ZIP? There does not appear to be any code for it in the archive. Also, modfl is already in DJGPP. Has the documentation been included mistakenly? Comments should go to djgpp-workers and K. B. Williams, since he's not subscribed to djgpp-workers. Also find below a script to convert the flat-directory structure of K. B. Williams's ZIP files to the DJGPP structure. Change SRCDIR to point at the place where you unzipped the ZIP files and DESTDIR to the root of your DJGPP check-out. Then just run the script. Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ] diff -pc3r src/libc/c99/math/expm1l.txh ../src/libc/c99/math/expm1l.txh *** src/libc/c99/math/expm1l.txh Mon Jun 3 11:29:08 2002 --- ../src/libc/c99/math/expm1l.txh Thu Dec 19 20:01:38 2002 *************** remains unchanged. *** 40,46 **** @itemx expm1l(-Inf) returns -1 @itemx expm1l(NaN) returns NaN @sp 1 ! @end example @subheading Portability --- 40,46 ---- @itemx expm1l(-Inf) returns -1 @itemx expm1l(NaN) returns NaN @sp 1 ! @end table @subheading Portability ---Start kbw2djgpp.sh--- #!/bin/sh SRCDIR=kbw DESTDIR=kbw.djgpp if [ ! -d ${SRCDIR} ]; then echo "${SRCDIR} directory must contain K. B. Williams's work" exit 1 fi mkdir -p ${DESTDIR} if [ ! -d ${DESTDIR} ]; then echo "Could not create ${DESTDIR} directory!" exit 1 fi status=1 mkdir -p ${DESTDIR}/include || status=0 mkdir -p ${DESTDIR}/src/libc/c99/math || status=0 if [ "a$status" = "a0" ]; then echo "Unable to create directories off ${DESTDIR} directory!" exit 1 fi cp -av ${SRCDIR}/*.h ${DESTDIR}/include cp -av ${SRCDIR}/*.c ${DESTDIR}/src/libc/c99/math cp -av ${SRCDIR}/*.txh ${DESTDIR}/src/libc/c99/math # Generate the Makefile YEAR=$(date +%Y) MAKEFILE=${DESTDIR}/src/libc/c99/math/makefile cat >${MAKEFILE} <>${MAKEFILE} cat >>${MAKEFILE} <