Skip to content

kennethgoodman/rockstar_math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rockstar_math

mathlib for rockstar language

Accepting PRs for more idiomatic or functions not done yet.

Functions needed:

  1. discrete math: infinity
  2. Data Structure: Binary Array with large numbers?
  3. Binary: xor
  4. Hyperbolic functions: sinh, cosh, tanh, ..., atanh

Thanks to @DavideFauri for developing most of this library.

This is math lib for https://github.com/dylanbeattie/rockstar


Currently Implemented:

Discrete Mathematics

Factorial taking Integer -> Integer

Mod taking Integer, Integer -> Integer

GCD taking Integer, Integer -> Integer

Geometry

DegToRad taking Number -> Number

RadToDeg taking Number -> Number

Trigonometry

Sine taking Number -> Number

Cos taking Number -> Number

Tan taking Number -> Number

Arcsin taking Number -> Number

Arccos taking Number -> Number

Arctan taking Number -> Number

Hyperbolic Trigonometry

Sinh taking Number -> Number

Cosh taking Number -> Number

Tanh taking Number -> Number

Arcsinh taking Number -> Number

Arccosh taking Number -> Number

Arctanh taking Number -> Number

Binary

DecToBin taking Integer -> String

Misc

Absolute_Value taking Number -> Number

Floor taking Number -> Integer

Ceil taking Number -> Integer

Power taking Number, Number -> Number

PowerIntegerExponent

PowerRealExponent

Exp taking Number -> Number

LN taking Number -> Number

LOG taking Number, Number -> Number

Square_Root taking Number -> Number

IsClose taking Number, Number -> Number

Releases

No releases published

Packages

No packages published

Languages