Commit Graph

3 Commits (5263070632eeed600119ad96f865d2562e1133c4)

Author SHA1 Message Date
Tim Brooks 343ce42238 Fix #10261 ABS(int64)
Added inline bit-shift absolute value for int64 type as per:
http://cavaliercoder.com/blog/optimized-abs-for-int64-in-go.html
Updated implementations in Iterator and the continuous query service
2018-09-11 21:53:44 +01:00
Jonathan A. Sternberg a1670613a1 Fix the log2 function to return values
The passed in argument wasn't correct so it always returned null instead
of the appropriate value.

Also includes unit tests for all of the math functions and restricts the
`asin()` and `acos()` functions to floats only since those functions
don't give any meaningful results when using integers or unsigned.
2018-05-17 15:44:58 -05:00
Jonathan A. Sternberg 2292b44ed7 Introduce unit tests for the math type mapper 2018-03-28 09:40:06 -05:00