From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,7368865292f36534,start X-Google-Attributes: gid10d4db,public From: info@lasermoon.co.uk Subject: Conformant Maths Library Date: 1996/03/09 Message-ID: #1/1 X-Deja-AN: 143797083 x-original-date: Mon, 4 Mar 1996 19:09:09 +0000 (GMT) followup-to: comp.os.linux.development.system content-type: text/plain; charset=ISO-8859-1 organization: ? mime-version: 1.0 newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- ISO/IEC 9899:1990 (C standard) conformant MATH LIBRARY for ELF Linux Open Linux Ltd are delighted to release a new and standard conformant MATH library for Linux. Developed for ELF Linux (it is not supported on a.out systems), this new libm cures a number of existing problems whilst providing *true* conformance to the C standard ISO/IEC 9899:1990 and also to XPG4. During the implementation of the C Standard for Linux-FT, we found that the standard Linux math library had too many problems to be worth rectifying, so a new library was developed. At this time we were solely interested in C Standard (and XPG4) Conformance so all functions not covered by the standard were taken from the existing Linux math library and fixed as required. If you are worried about the library that you are using with your Linux, we have provided a test suite to: - Validate the new libm when you build it on your system - Validate and report any defects in the libm that you are using. Known problems with the latest standard Linux math library: For extreme values, functions return wrong results. E.g., with the standard Linux math library fmod(5.0,0.0) = 5.0, pow(-1.0,1.0e20) = NaN, several functions overflow early though the result could be represented, and only few functions do correctly set errno to ERANGE on overflow. Some functions like asin() clobber the floating point stack, an especially dangerous bug because the function itself returns the correct result, and bad values may be computed much later. This enhanced math library - returns correct results for all valid input values; - sets errno correctly on overflow or domain error and correctly returns Inf, -Inf or NaN; - knows how to compute even with +/-Inf and NaN; - contains all functions not only with "double" type but also with "float" and "long double" type; - contains all functions as inline assembler code. Full details of the problems that this new library solves, its Copyright and copies of the actual library(!!) can be obtained from : email: info@lasermoon.co.uk (reply to this email) ftp : ftp.lasermoon.co.uk WWW : http://www.lasermoon.co.uk/linux-ft/linux-ft.html - -- Info - info@lasermoon.co.uk WWW and FTP : www.lasermoon.co.uk Lasermoon Ltd, The Forge, Fareham Road, Wickham, Hants, England. PO17 5DE Voice +44 (0) 1329 834944 Fax: +44 (0) 1329 834955 +++ The UNIX & Linux Freeware Specialists! +++ -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMUF1CYQRll5MupLRAQEsugP+NyjKGutai9qTnl1STf2CAR6GMkukfKmr 8dzq+XXOI58yWv0NaDwCAqo2dx/zvdPznEgr7kXLg1/D5sNlM219iwXUxE+aDhME KPxb1q457GebiFnp2VEjO/lWA3AyIi52VTyR+rW6x4J0JmjU1yMy7HVGKhMK94Ro sr1VXjEfdSc= =eOUk -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.