2
2
Fork
You've already forked zm
1
zm - Zig math library
  • Zig 100%
2026年03月08日 15:35:32 +01:00
examples ready to merge 2025年11月14日 10:19:55 +01:00
src fix rotationRH 2026年03月05日 16:35:00 +01:00
test fix rotationRH 2026年03月05日 16:35:00 +01:00
.gitignore added example 2024年07月22日 00:14:38 +02:00
build.zig ready to merge 2025年11月14日 10:19:55 +01:00
build.zig.zon fix rotationRH 2026年03月05日 16:35:00 +01:00
LICENSE some fixes and maintenance 2025年02月14日 18:13:19 +01:00
README.md Update README.md 2026年03月08日 15:35:32 +01:00

zm Logo zm Logo

zm - Fast math library

zm is a Zig math library. It is fast and easy to use.

Usage

Note

This library is tracking Zig's master branch. Last tested with 0.16.0-dev.2682+02142a54d. It may not compile with newer or older versions.

Run zig fetch --save git+https://github.com/griush/zm on the directory of your build.zig and build.zig.zon.

Then in the build.zig add:

constzm=b.dependency("zm",.{.target=target,.optimize=optimize,});module.addImport("zm",zm.module("zm"));

Now, in your code, you can use:

constzm=@import("zm");

Example

Demo using the library (incomplete) demo.

Benchmarks

See benchmarks.