metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (METRON-1038) Stellar should have a better collection of basic math operations
Date Wed, 02 Aug 2017 13:47:00 GMT

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

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

Mime
View raw message