Little Math Functions

Contributions to this software library are always welcome. Please ensure that you post program listings rather than .raw files. They give a reasonable idea of what your program does without having to load them into a DM42 and you can also include comments in your code. Check out the following link for a decoder/encoder: https://technical.swissmicros.com/decoders/dm42/

You can then copy/paste the listing and post it in "code" tags.
Post Reply
richmit
Posts: 28
Joined: Tue Feb 16, 2021 2:51 am

Little Math Functions

Post by richmit »

I have recently started rewriting all my old programs using the new and improved functionality in free42. Figured I would post them on github in case they might be useful to someone else.

The third one is a collection of little math functions. Stuff like base-n logs, roots, gcd, etc... These have all been redone to use free42 FUNC & large stack support. This has been a big change -- a ton of the old code was for saving the stack or minimizing stack use. The result is that every one of these has been redone, and I have probably introduced bugs -- so be careful and have fun.

https://richmit.github.io/hp42/math.html
Post Reply