Overview
Features
Includes JavaScript Math constants and functions (and some bonus) not included in base SAMMI. All constants and functions are prefixed “More Math:” and behaves exactly like the JavaScript counterpart.
- Constants:
pi,e(base of a natural log),sqrt(2)(square root of two),sqrt(1/2)(square root of one half),ln(2)(natural log of two),ln(10)(natural log of ten),log2(e)(binary log of e),log10(e)(base 10 log of e) -
Absolute Value,Sign(returns 1, 0 or -1),Exponentiate,Log,Cube Root,Mod to Positive Value(modulo(%) that ensures the return value is nonnegative) - Comparison (
Min,Max(compare between two values),Get Array Min,Get Array Max(compare inside an array)) -
Ceiling,Round,TruncateandFloor,Round to Decimal Point(round to a custom number of digits),Linear InterpolationandAnti-Linear Interpolation - Trigonometry (
Arc Sine,Arc Cosine,Arc Tangent,Hyperbolicsin/cos/tan/asin/acos/atan,Two-Argument Arc Tangent(get angle between point and origin),Get HypotenuseandGet Array Hypotenuse(get distance between point and origin))
Example deck is available in the Examples directory in the code repository. The code is available to examine and download on github.
Disclaimer
If you have any questions, help or bugs to report while using this extension, please message me at @pr_d on discord! I’d be glad to help you out.
Setup
You can find the setup guide at https://sammi.solutions/extensions/install.
Privacy Policy
This developer has disclosed that it will not collect or use your data.
This developer declares that your data is:
- Not being sold to third parties.
- Not being used or transferred for purposes that are unrelated to the extension's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Reviews
Coming soon!



