Commit Graph

27 Commits

Author SHA1 Message Date
97e7b60a0b expression: PlusInt check null iff overflow (#25466) 2021-06-16 14:28:37 +08:00
e1fccc6e98 expression: add overflow check in multiplyInt (#22926) 2021-04-07 10:46:31 +08:00
32a9c3d13c expression: separated arithmeticModIntSig (#22137) 2021-03-29 17:07:24 +08:00
31c13d6e38 expression: fix bugs in builtinfunction ArithmeticMinusInt logic (#22426) 2021-02-26 13:00:54 +08:00
50607db18d expression: Optimize builtinArithmeticModRealSig and builtinGreatestDecimalSig using MergeNull method (#22418)
* optimize with mergenulls

* optimize with mergenulls

* remove unnecessary import

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-02-22 22:27:09 +08:00
931ff98df5 simple fixes for the staticcheck linter (#18923)
Note that this found 2 bugs where errors were being silently ignored.

These are really simple fixes that didn't require much thought.
There are still more staticcheck warnings that should be fixed.

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-06 13:38:17 +08:00
4645c6582d expression: check ErrTruncate/Overflow for CastRealAsDecimalSig (#18961) 2020-08-04 14:37:45 +08:00
22fb77ee11 expression: handle ErrTruncated when dividing decimals in non-data-change stmts (#14438) 2020-02-07 14:02:52 +08:00
50e7cab87b expression: implement arithmetic vec int divide int sig (#14464) 2020-01-20 10:27:05 +08:00
18d7d55b9d expression: implement vectorized evaluation for builtinArithmeticIntDivideDecimalSig (#13602) 2019-12-09 21:14:18 -06:00
b06e4ec9ca expression: implement vectorized evaluation for builtinArithmeticMinusIntSig (#12772) 2019-11-09 01:02:39 -06:00
035fe071a2 expression: implement vectorized evaluation for builtinArithmeticModIntSig (#13012) 2019-11-01 17:26:34 +08:00
076503a468 expression: implement vectorized builtinArithmeticMultiplyIntUnsignedSig (#12834) 2019-10-22 20:46:29 +08:00
0386777045 implement vectorized builtinArithmeticMultiplyIntSig (#12714) 2019-10-21 16:49:04 +08:00
acd14097b4 implement builtinArithmeticModDecimalSig (#12763) 2019-10-17 08:51:02 +08:00
7312a62937 expression: implement vectorized evaluation for builtinArithmeticDivideDecimalSig (#12716) 2019-10-16 19:34:33 +08:00
6b403e5767 expression: implement vectorized evaluation for builtinArithmeticPlusIntSig (#12559) 2019-10-16 15:31:38 +08:00
73c172a660 expression: fix random unit test failed in vectorized evaluation for builtinArithmeticModRealSig (#12722) 2019-10-15 19:25:33 +08:00
4105c39baf implement builtinArithmeticMultiplyDecimalSig (#12689) 2019-10-15 12:24:41 +08:00
d4a13122b9 expression: implement vectorized evaluation for builtinArithmeticModRealSig (#12696) 2019-10-15 12:11:25 +08:00
876e794d72 expression: implement vectorized evaluation for builtinArithmeticMinusDecimalSig (#12584) 2019-10-14 16:29:32 +08:00
17586b0858 expression: implement vectorized evaluation for builtinArithmeticPlusDecimalSig (#12567) 2019-10-09 21:47:39 +08:00
f6c019cd1a expression: implement vecEval for ArithmeticDivideRealSig (#12546) 2019-10-09 16:24:05 +08:00
2865b81244 expression: implement vectorized evaluation for builtinArithmeticMultiplyRealSig (#12543) 2019-10-08 16:29:46 +08:00
7d54d8cd04 expression: implement vectorized evaluation for builtinArithmeticPlusRealSig (#12518) 2019-10-08 12:01:49 +08:00
804b5f996e expression: implement vectorized evaluation for builtinArithmeticMinusRealSig (#12524) 2019-10-08 11:53:17 +08:00
73432870cf expression: generate vecEval methods for all functions to avoid further conflicts (#12395) 2019-09-25 20:41:47 +08:00