Skip to main content
Home Documents Game Manuals Math Lib Moto Project
Math Lib Moto Project

Math Lib Moto Project

Game Manuals · PDF
FilenameMathLibMoto_Project.pdf
Size0.02 MB
Subsection Math Lib Moto Project
Downloads0
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Math Lib Moto Project
/
Loading…
OCR / Text contents
MathLibMoto v1.0.1 Project Requires PowerPC Macintosh and System 7.5 or later. The enclosed project and source files can be compiled with Code Warrior 8 to produce MathLibMoto. It requires libmoto which is part of the Motorola PowerPC C/C++ SDK. The libmoto library is copyright by Motorola and may not be distributed without a license from Motorola. MathLibMoto is a shared library designed to accelerate MacOS math functions. To use this library, simply drag it into the same folder as the application you wish to accelerate or drag it into the System:Extensions folder to accelerate all applications. It is not necessary to restart your Macintosh after installing the library. If you see a file named "MathLib" in your Extensions folder, remove it before installing MathLibMoto. You should keep a copy of the original MathLib in case you need to replace it later if you discover any problems with MathLibMoto. MathLibMoto is built with the libmoto library which is part of the Motorola C/C++ SDK. It includes pow, sqrt, sin, cos, log, log10, exp, atan and atan2. The functions tan, asin, acos, sinh, cosh, and tanh are derrived from the other functions and are included as part of MathLibMoto. If you are a Macintosh application developer, you can get the best performance by linking directly with libmoto. libmoto also includes several string and memory utility functions which can help your application's performance. The Motoroloa C/C++ compilers offer excellent code optimization. I highly recommend the Motorola C/C++ SDK to any programmer interested in maximizing their application's PowerPC performance. I really wish that Apple would include the functions in libmoto in future versions of their math library. Hopefully, MathLibMoto with become obsolete in the near future. The program MathTest compares the performance of each math function. The program performs one million iterations for each function with a constant test value. Different test values will produce different performance. All of the functions in the Motorola library appear to produce results identical to those in the Apple math library. The functions tan, acos, sinh, cosh and tanh were derrived from the Motorola functions and may produce different results (in this test, tan, sinh and tanh produced different results). The difference in results are extremely small and should not cause any serious math errors (the results appear to have at least 16 digits of accuracy). This library was created by Mark Granger. This is not an Electric Image, Inc. product. This library is provided without any warranty. The MathLibMoto project and source may be copied freely so long as this text file is included with it. Use this library at your own risk. It has not been tested for compatibility with other Macintosh applications. It has also only had very limited testing for correctness. Do not use this library with any mission critical application. Below are the results of running the MathTest program with the Apple …

Showing first 3,000 characters of 5,238 total. Open the full document →

mp.ls