[
https://issues.apache.org/jira/browse/METRON-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110930#comment-16110930
]
ASF GitHub Bot commented on METRON-1038:
----------------------------------------
Github user cestella commented on a diff in the pull request:
https://github.com/apache/metron/pull/650#discussion_r130880027
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -581,6 +634,24 @@ In the core language functions, we support basic
functional programming primitiv
* group - The integer that selects what group to select, starting at 1
* Returns: The value of the group, or null if not matched or no group at
index.
+### `ROUND`
+ * Description: Rounds a number to the nearest integer
+ * Input:
+ * number - The number to round
+ * Returns: The nearest integer.
+
+### `SIN`
+ * Description: Returns the `sin` of a number.
+ * Input:
+ * number - The number to take the `sin` of
+ * Returns: The `sin` of the number passed in.
+
+### `SQRT`
+ * Description: Returns the `sqrt` of a number.
--- End diff --
yep
> Stellar should have a better collection of basic math operations
> ----------------------------------------------------------------
>
> Key: METRON-1038
> URL: https://issues.apache.org/jira/browse/METRON-1038
> Project: Metron
> Issue Type: Improvement
> Reporter: Casey Stella
>
> At the moment the math functions are woefully incomplete.
> We should add at least the ones difficult or impossible to reconstruct using
> existing stellar primitives/math functions:
> * log10
> * log2
> * ln
> * sqrt
> * ceil
> * floor
> * sin
> * cos
> * tan
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)