Skip to content

DubiousCactus/zm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zm Logo

zm Logo

GitHub Actions Workflow Status

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.1316+181b25ce4. 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:

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

Now, in your code, you can use:

const zm = @import("zm");

Example

Demo using the library (incomplete) demo.

Benchmarks

See benchmarks.

About

zm - Zig math library

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Zig 100.0%