Skip to content

A JavaScript math library without floating-point rounding errors that includes support for Vectors, Matrices, and other geometric functions

License

Notifications You must be signed in to change notification settings

oneislandearth/math

Repository files navigation


A JavaScript math library without floating-point rounding errors that includes support for Vectors, Matrices, and other geometric functions

Overview

Installation

@oneisland/math is available through the npm registry:

$ npm install @onesland/math

Usage

Creating a simple math example using @oneisland/math:

example.js
// Import the required operations from @oneisland/math
import { add } from '@oneisland/math';

// Add some number without rounding errors
const result = add(0.1, 0.2);

// Log out the result
console.log(`The result is: ${result}`);
The result is: 0.3

Documentation

Check out the full documentation

License

MIT

Copyright (c) 2019-present, OneIsland Limited

About

A JavaScript math library without floating-point rounding errors that includes support for Vectors, Matrices, and other geometric functions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •