Menu

#200 Implement new logical functions

v1.1.x
closed
None
v1.1.0
New Functionality
2017-05-28
2017-05-12
Erik Hänel
No

Implement the two logical functions and() and or(), which shall be capable of using an arbitrary number of inputs and returning a logical number, indicating, whether all (and()) or at least one (or()) of its argument is non-zero.

Analysis:
This can be done by consecutive comparing the input arguments against zero.

Implementation:
The functions were implemented as proposed by the analysis. Implementation tests were passed successfully.

Documentation:
The new functions were added to the syntaxelements, to the language strings and to the search database. They were as well added to the list of predefined functions.

Tests:
Tests were passed successfully. Functionality implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2017-05-12
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2017-05-13
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2017-05-13
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,10 @@
     Implement the two logical functions `and()` and `or()`, which shall be capable of using an arbitrary number of inputs and returning a logical number, indicating, whether all (`and()`) or at least one (`or()`) of  its argument is non-zero.
    +
    +**Analysis:**
    +This can be done by consecutive comparing the input arguments against zero.
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2017-05-14
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,7 +4,9 @@
     This can be done by consecutive comparing the input arguments against zero.
    
     **Implementation:**
    +The functions were implemented as proposed by the analysis. Implementation tests were passed successfully.
    
     **Documentation:**
    +The new functions were added to the syntaxelements, to the language strings and to the search database. They were as well added to the list of predefined functions.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2017-05-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -10,3 +10,4 @@
     The new functions were added to the syntaxelements, to the language strings and to the search database. They were as well added to the list of predefined functions.
    
     **Tests:**
    +Tests were passed successfully. Functionality implemented successfully.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB