Ayaz
4f1d7fca9a
Merge pull request #4218 from roc-lang/rollup-10-05
...
Misc bugfixes 10-05
2022-10-05 14:52:11 -05:00
Ayaz Hafiz
f849bab6f1
Ignore large bit abs on wasm
2022-10-05 13:06:44 -05:00
Ayaz Hafiz
657346a057
Support Num.abs for non-64 bit integer types
...
Closes #4210
2022-10-05 08:39:45 -05:00
Ayaz Hafiz
dea7661068
Have Num.shift*By
functions shift by a U8
...
302305020
2022-10-04 12:28:33 -05:00
kilianv
9717747a54
Update tests
...
not all tests pass yet. Will look at them with Ayaz.
2022-09-20 14:42:03 -05:00
Folkert
b7cb7bb786
bitwise logical operators in the dev backend
2022-09-03 15:48:57 +02:00
Folkert de Vries
1db7c3664d
Merge pull request #3877 from roc-lang/dev-backend-add-checked
...
dev backend add checked
2022-08-29 09:47:20 +02:00
Folkert de Vries
51d5aa789a
Merge pull request #3870 from roc-lang/dev-backend-div
...
add int/float division to the dev backend
2022-08-25 09:03:19 +02:00
Folkert
a3a4a5ff3c
some gen_num test cleanups
2022-08-23 20:36:12 +02:00
Folkert
b43c0ac1e3
use RocResult in addChecked test
2022-08-23 20:10:05 +02:00
Folkert de Vries
5e8faf64be
Merge pull request #3833 from roc-lang/dev-backend-mul
...
dev backend mul
2022-08-23 09:22:38 +02:00
Folkert
4f84a120c5
add int/float division to the dev backend
2022-08-22 22:40:09 +02:00
Folkert
6b69e837a4
configure mul to use 'bigger' src registers when needed
2022-08-21 20:26:26 +02:00
kilianv
731f10981e
Swap the argument order in bitwise shift operators
...
The arguments were probably swapped in the first place because in Elm
they are swapped, because Elm is curried. The new order makes more sense
both with and without the pipe operator
2022-08-20 20:33:10 +02:00
Folkert
aacd90baff
split signed and unsigned tests
2022-08-19 21:28:50 +02:00
Folkert
2a302cfc46
dev backend unsigned multiply: round 2
2022-08-18 23:11:54 +02:00
Folkert
271fbe69e8
attempt at unsigned multiplication
2022-08-17 14:14:46 +02:00
Folkert
d39de07b5a
implement float multiplication
2022-08-17 13:32:58 +02:00
Folkert
038ba47409
make integer multiplication work for quadwords and lower
2022-08-17 13:05:48 +02:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos
2022-08-12 15:24:09 -04:00
Ayaz Hafiz
d8e2ca7b1e
Add test for when conditional polymorphic expr becomes a float
...
Closes #2884
2022-08-10 13:20:07 -07:00
Christoph Rüßler
003408e3ef
Merge remote-tracking branch 'origin/trunk' into complete-num-add
2022-08-07 19:52:06 +02:00
Christoph Rüßler
6d66b0deb6
Add support for i16/u16 to NumAdd
2022-08-07 19:41:35 +02:00
Christoph Rüßler
38f7fc7136
Add support for f32 to NumAdd
2022-08-02 21:57:08 +02:00
Christoph Rüßler
8cd63290f9
Add support for more integer types to NumAdd
2022-08-02 21:57:07 +02:00
raleng
06f1bead96
Enable gen_llvm is_multiple_of_unsigned test
2022-08-02 16:00:29 +02:00
Ayaz
fffe9ca8ee
Merge pull request #3659 from rtfeldman/when-on-128bit-numbers
...
when on 128-bit numbers
2022-07-29 14:54:16 -05:00
Ayaz
ff0edc72c3
Merge pull request #3657 from rtfeldman/when-on-strings
...
implement when on multiple string patterns
2022-07-29 14:53:35 -05:00
Folkert
47bbef30e8
when on 128-bit numbers
2022-07-29 14:09:50 +02:00
Brian Carroll
0041d4f3bc
wasm: Fix shiftRightBy for U8 and U16
2022-07-29 14:05:39 +02:00
Folkert
d0f1500dad
implement when on multiple string patterns
2022-07-29 12:13:21 +02:00
Folkert
a60a49bce6
dev backend cannot compare floats
2022-07-27 14:46:46 +02:00
Folkert
f011748526
fix duplicate test failing llvm wasm tests
2022-07-26 18:22:05 +02:00
Folkert
7953da1c71
clippy
2022-07-24 16:33:57 +02:00
Folkert
df865222bf
Nat overflow is different between targets
2022-07-24 12:53:03 +02:00
Ayaz Hafiz
980c3f1421
Use decimal formatting for float Num.toStr
2022-07-13 12:35:49 -04:00
Ayaz Hafiz
66b8d145a9
Support Num.toStr for dec
2022-07-13 12:13:21 -04:00
Ayaz Hafiz
b7c312d449
Support Num.toStr for f32, f64
2022-07-13 12:13:01 -04:00
Ayaz Hafiz
2492fba9f9
Gen tests for promoted num layouts
2022-07-05 22:16:52 -04:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes
2022-07-01 17:37:43 +02:00