Clone
Dmitry Lychagin <dmitry.lychagin@couchbase.com>
committed
on 26 Jul 18
[ASTERIXDB-2423][RT] Division by zero should return NULL
- user model changes: yes
- storage format changes: no
- interface changes: no

Det… Show more
[ASTERIXDB-2423][RT] Division by zero should return NULL

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Make DIV, /, MOD operators return NULL if the divisor is 0

- Add test case for if_inf() function

Change-Id: If2a45e842b840f721435b0715945a209e55b9dd4

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2813

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Till Westmann <tillw@apache.org>

Show less