Originally Posted by Cowcat
The whole ppcmath.lib source is located in RayStorm rendering package, made open source a couple of years ago.
I found the source on GitHub, but unfortunately it is not the final version. Parts of the lib_ppcmath source cannot work. For example, look at the "RELOC:" in log_asm.pasm, or the missing initialization of r3 with log_table_base in pow_asm.pasm.
Seems it would be better to do that from scratch.