Thanks to visit codestin.com
Credit goes to github.com

Skip to content

griush/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.164+bc7955306. 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

For an example using Zig's build system see: example.

Benchmarks

See benchmarks.

Contributors 3

  •  
  •  
  •  

Languages