The Source for Java Technology Collaboration
User: Password:



Daniel Williams




Daniel Williams is a software engineer working with the U.S. Army Medical Department at Fort Sam Houston, TX. His background includes 10 years of software development experience with internet services, telecommunication, learning management systems, and health care.

Articles

Creating a Java ME Math.pow() Method
Mathematical functions that are second nature to the desktop programmer may be off-limits in the resource-constrained Java ME environment. For example, while ME now supports floats and doubles, its Math class doesn't offer a pow() function for computing exponents. In this article, Lawrence Fulton and Daniel Williams show how to use approximation techniques to get "good enough" results, even with negative and fractional exponents. Nov. 6, 2007



 Feed java.net RSS Feeds