9271926f ยท zzmq.dev@gmail.com/mathkit
Commit
9271926f024fd34ae21a662cac3420b5bcc43951
Implement lcm using existing gcd, export from index, and add comprehensive tests
zzmq.dev@gmail.com[dev2] <zzmq.dev@gmail.com[dev2]@local> -- 2026-10-15T05:32:12.000Z
Ladder Summary
Added a new `lcm` implementation that leverages the existing `gcd`, exported it from the libraryโs entry point, and introduced thorough unit tests covering standard, edge, and error cases.
Tree at this commit
- ๐ README.md
- ๐ index.js
Ladder Summary
This module acts as the central public interface for the mathkit library, defining a `sum` utility that adds any number of numeric arguments and re-exporting all core mathematical functions from the `src` directory, now including the newly added `lcm` function for least common multiples.
- ๐ src
- ๐ test