summary refs log tree commit diff stats
path: root/tests/arithm
Commit message (Collapse)AuthorAgeFilesLines
* Merge tests into a larger file (part 1 of ∞) (#9318)Miran2018-10-127-240/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge actiontable tests * merge arithm tests * merge array tests * merge assign tests * merge bind tests * merge casestmt tests * merge closure tests * merge cnt seq tests * merge collections tests * merge concept issues tests * merge concept tests * fix failing tests * smaller outputs Use `doAssert` where possible. * fix wrong output * split `tcomputedgoto` * revert merging concepts * fix failing test
* Narrowing casts are applied after every op if needed (#8918)LemonBoy2018-09-081-4/+39
| | | | | | | This way we make sure not to end up with weird values every now and then. Fixes #7300 Fixes #8909
* Constant folding for integer casts (#8095)LemonBoy2018-08-311-0/+60
|
* fixes #6255, add `system.ashr` arithmetic right shift (#8547)andri lim2018-08-071-0/+46
|
* Fix constant folding for shl/notLemonBoy2018-06-192-0/+92
| | | | | Since the source and destination types are the same the result should be trimmed to fit.
* closes #5854Andreas Rumpf2017-09-151-0/+13
|
* Removed platform-specific arithm test cases (#6189)Fredrik Høisæther Rasch2017-08-061-11/+11
|
* fix logical right shift in VM. (#5916)Parashurama2017-06-051-0/+2
|
* fix right shift c codegen bug. (#5919)Parashurama2017-05-311-0/+18
| | | | | | * fix right shift c codegen bug. signed int must first be cast as unsigned before converting to larger integer. The C compiler will auto convert operands to the largest type.
* fixes #5216Araq2017-01-271-0/+20