[ 
https://issues.apache.org/jira/browse/METRON-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16100491#comment-16100491
 ] 

ASF GitHub Bot commented on METRON-1038:
----------------------------------------

Github user mattf-horton commented on a diff in the pull request:

    https://github.com/apache/metron/pull/650#discussion_r129375098
  
    --- 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.
    --- End diff --
    
    Returns the sine of a number.


> 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)

Reply via email to