>
>
>  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.
>
>

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 derived from
the other functions and are included as part of MathLibMoto.

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.

Below are the results of running the MathTest program with the Apple
math library and then with the MathLibMoto library on a Macintosh
8100/80. All times are in seconds. The result = x field gives the
function result and is used for checking accuracy. Note that pow is
more than three times faster in MathLibMoto than in the Apple math
library:

Apple's Math Library:

pow = 7.233333 result = 1.6392961767304339293
sqrt = 1.866667 result = 11.1110755554986671001
sin = 2.216667 result = -0.8039373685728268271
cos = 1.783333 result = -0.5947139710921535150
tan = 4.216667 result = 1.3518050821917770854
log = 2.916667 result = 4.8158848172832637857
log10 = 2.933333 result = 2.0915122016277716277
exp = 1.866667 result = 1.1314002218371064235
asin = 5.200000 result = 0.1237717773443353098
acos = 6.800000 result = 1.4470245494505613593
atan = 2.383333 result = 1.5626964520979926832
atan2 = 5.200000 result = 0.1973955598498807751
sinh = 4.550000 result = 0.1237698457926306866
cosh = 2.900000 result = 1.0076303760444758062
tanh = 4.116667 result = 0.1228325869635827766

MathLibMoto:

pow = 2.083333 result = 1.6392961767304339293
sqrt = 1.300000 result = 11.1110755554986671001
sin = 1.033333 result = -0.8039373685728268271
cos = 0.966667 result = -0.5947139710921535150
tan = 2.583333 result = 1.3518050821917773074
log = 1.033333 result = 4.8158848172832637857
log10 = 1.116667 result = 2.0915122016277716277
exp = 1.166667 result = 1.1314002218371064235
asin = 2.916667 result = 0.1237717773443353098
acos = 2.966667 result = 1.4470245494505613593
atan = 1.183333 result = 1.5626964520979926832
atan2 = 1.766667 result = 0.1973955598498807751
sinh = 2.600000 result = 0.1237698457926306728
cosh = 2.583333 result = 1.0076303760444758062
tanh = 2.800000 result = 0.1228325869635827627

* * *

[MathLibMoto Home Page][1]

[Motorola's official release of LibMotoSh][2] -more follow-ups on the
to-do.

* * *

#1: MathLibMoto Project and Source Files v1.0.1 -(1996) includes the
MathTest application
#2: MathLibMoto Shared Library Compiled v1.0.1 -(1996)
For PowerPC

Compatibility
Architecture: PPC

PowerPC Macintosh and System 7.5 or later.

  [1]: http://web.archive.org/web/19990427234639/http://users.aol.com:80/granger/MathLibMoto.html
  [2]: http://web.archive.org/web/19990427160347/http://www.mot.com/SPS/PowerPC/library/fact_sheet/libmoto_download.html