Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

objectionary/eo-math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 10, 2024
2fa861d · Sep 10, 2024
May 9, 2024
Oct 23, 2023
Jul 3, 2022
Jun 17, 2022
May 17, 2022
Jul 3, 2022
Jul 25, 2022
Jun 20, 2022
Sep 10, 2024
Oct 11, 2023
May 19, 2023

Repository files navigation

EO principles respected here DevOps By Rultor.com We recommend IntelliJ IDEA

mvn PDD status codecov Maven Central Hits-of-Code Lines of code License

This repository is deprecated! We've moved all EO objects from this repository to objectionary/eo.

EOLANG objects for trigonometry and floating point opeartions.

This is how you can manipulate with sin, cos, tan and ctan via angle:

+alias org.eolang.math.pi
+alias org.eolang.math.angle

(angle pi).cos > cos-pi
(angle (angle 30).as-radians).sin > thirty-degrees-sin
(angle (pi.div 3.0)).tan > pi-div-three-tan

You are welcome to add more primitives to this lib. You can see what we need in the lib in the paper.

How to Contribute

Fork repository, make changes, send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full Maven build:

$ mvn clean install -Pqulice

You will need Maven 3.3+ and Java 8+.