The Wayback Machine - https://web.archive.org/web/20050207110205/http://oss.software.ibm.com:80/mathlib/


MathLib

Home
Developer page
FAQ
Downloads<
Report bugs
Patches
Mailing Lists
News
CVS

Accurate Portable

Mathematical Library



�Project Description



The IBM accurate portable mathematical library (IBM APMathLib) consists of routines that compute some of the standard common transcendental functions.

The computed results are the exact theoretical values correctly rounded (nearest or even) to the closest number representable by the IEEE 754 double format.

The computations are bit-by-bit compatible upon porting among the supported platforms. Currently the supported platforms/compilers are: x86/Linux/gcc, x86/NT/[gcc| cl], Sparc/Solaris/gcc,�
PowerPC/AIX[32bit | 64bit]/[gcc | xlc].



Currently, the available routines are:



uatan, uatan2, uasin,uacos, uexp, ulog, upow, usin, ucos, utan,usqrt, uremainder,� which may replace the standard functions atan(), atan2, asin(), acos() etc.
Additional routines will be added later.

Unlike the standard library routines, the accurate portable routines' return values are� THE EXACT THEORETICAL return values CORRECTLY ROUNDED to the nearest value representable by the IEEE 754 double format.

If the theoretical result is equally distant from two neighboring IEEE 754 values, the functions return the "even" of the two.


Developing APMathLib

�This project is licensed under the Gnu Lesser General Public License.

If there's a feature that you'd like to see added to APMathLib, you are welcome to contribute.

Since MahtLib is an open source project, it's easy to get involved.

The developer web page located in IBM's developerWorks Open Source Software zone.


MathLib��Team�

Abraham Ziv Math [email protected]
Moshe Olshansky Math + implementation� [email protected]
Ealan Henis� Design, portability [email protected]
Anna Reitman Implementation,
makefiles
[email protected]
Please send web page comments to MAIL�