Skip to content
NOPEname edited this page Jun 22, 2020 · 12 revisions

Modules:

math:sqrt

Calculates square root of given number (output: integer, rounded down; uses Babylonian Methode: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)

math:trig/..

../sin

Calculates sine of given number using a lookup table (input: degree wrapped into [0..360]; output: integer, scaled by 1,000,000,000)

../cos

Calculates cosine of given number like ../sin (passes modified input to ../sin)

>> Check README.md for more information!

Clone this wiki locally