net.dclausen.microfloat J2ME floating-point library README.txt
--------------------------------------------------------------INTRODUCTION
------------
This is a Java library for performing floating-point calculations on
small devices such as mobile phones which lack native support for
floating-point numbers.COPYRIGHT
---------
The contents of this library are Copyright (c) 2003,2004 David Clausen,
all rights reserved. Use and distribution are governed by the GNU
General Public License, which is fully explained in the included
LICENSE.txt file. CONTACT
-------
Visit the project's homepage at http://www.dclausen.net/projects/microfloat
for updates, more information, and instructions on contacting the author.RELEASE NOTES
-------------
version 1.0: August 2 2004
Initial public releaseMicroFloat is a Java software library for doing IEEE-754 floating-point math on small devices which don't have native support for floating-point types. Basically this means Java-powered mobile phones (J2ME CLDC 1.0), but I imagine that it could be useful in other similar environments, such as embedded systems.In this package you get support for 32-bit "float" and 64-bit "double" data types, including all primitive operations supported by J2SE (add, subtract, multiply, divide, mod, comparisons, typecasts) as well as a full reproduction of all methods in java.lang.Math (sin, cos, exp, pow, log, etc.). In theory, these operations should return results which are fully compliant with the IEEE-754 and J2SE specs. Consult the javadoc for more information on how to use the library.