Fábio Beirão
|
91580b62cd
|
Adjust the tests to use i64 instead o i8
For some reason with i8, wasm would error with "ERROR: I found a type mismatch at file offset 0x3aa5. Expected I32, but found I64."
|
2023-06-09 19:52:19 +02:00 |
|
Fábio Beirão
|
ec94fc87a5
|
Add Num.min and Num.max
Implements #5533
|
2023-06-09 14:17:54 +02:00 |
|
Ayaz Hafiz
|
95e2fc3b03
|
Disable tests on dev for now
|
2023-06-07 11:52:50 -05:00 |
|
Ayaz Hafiz
|
3a25ec5322
|
Correctly compile mulChecked for Dec
|
2023-06-06 17:48:42 -05:00 |
|
Ayaz Hafiz
|
25f3190d33
|
Correctly compile subChecked for Dec
|
2023-06-06 17:48:42 -05:00 |
|
Ayaz Hafiz
|
b3966a588a
|
Fix compilation of addChecked for Dec
|
2023-06-06 17:48:41 -05:00 |
|
Tero Laxström
|
17be5a6fd1
|
Fix typo in gen-dev for float_add_overflow test
|
2023-05-31 20:52:10 +03:00 |
|
Basile Henry
|
9a2afbb09b
|
gen_dev: Implement builtins Num.isNan, Num.isFinite, Num.isInfinite
|
2023-05-03 11:12:01 +01:00 |
|
Basile Henry
|
b8aaaaabda
|
Implement builtins for Num.isNan, Num.isInfinite, and Num.isFinite
Closes #5310 and closes #5309
|
2023-05-03 09:33:28 +01:00 |
|
Folkert
|
5363b95c5f
|
move with sign extension
|
2023-04-27 19:40:57 +02:00 |
|
Folkert
|
0bf3eefbf2
|
dev backend: Num.isMultipleOf
|
2023-04-27 13:50:27 +02:00 |
|
Folkert
|
10a497fdde
|
sign extension WIP
|
2023-04-27 12:24:25 +02:00 |
|
Folkert
|
d10ae2412a
|
num conversion
|
2023-04-27 11:36:56 +02:00 |
|
Folkert
|
1dd4b470dd
|
more casts, u128 literals
|
2023-04-27 11:18:11 +02:00 |
|
Folkert
|
eaef21f7d4
|
intcast cases (probably wrong)
|
2023-04-26 22:26:39 +02:00 |
|
Folkert
|
0f058c8b46
|
128-bit multiplication
|
2023-04-26 21:58:02 +02:00 |
|
Folkert
|
3ebc4bb9ad
|
128-bit integer equality
|
2023-04-26 21:11:46 +02:00 |
|
Folkert
|
2e3c915780
|
128-bit min/max
|
2023-04-26 14:39:40 +02:00 |
|
Folkert
|
43624ade27
|
assembly for irem and urem
|
2023-04-26 14:16:24 +02:00 |
|
Folkert
|
f45e4ed858
|
implement Num.toStr for the dev backend
|
2023-04-23 18:04:34 +02:00 |
|
Folkert
|
b59ada4bc8
|
implement List.map in the dev backend
|
2023-04-23 17:35:17 +02:00 |
|
Kiryl Dziamura
|
2633e7ed8f
|
Disable 128 bit test for wasm
|
2023-04-20 11:55:42 +02:00 |
|
Kiryl Dziamura
|
e8b1d3fa24
|
Disable backend dev tests
|
2023-04-20 11:55:41 +02:00 |
|
Kiryl Dziamura
|
8d49dc0603
|
Format rust
|
2023-04-11 15:50:52 +02:00 |
|
Kiryl Dziamura
|
54992fb436
|
Add large bits test cases
|
2023-04-11 13:42:38 +02:00 |
|
Kiryl Dziamura
|
fb0a64dc22
|
Implement Num.absDiff
|
2023-04-11 12:16:54 +02:00 |
|
Brendan Hansknecht
|
e6964536b2
|
add more Num.bytesTo* functions
|
2023-03-12 08:41:05 -07:00 |
|
Brendan Hansknecht
|
785da377c8
|
add Num.count*Bits functions
|
2023-03-12 08:41:04 -07:00 |
|
Folkert
|
1f296a5907
|
fix test I broke
|
2023-02-26 22:32:19 +01:00 |
|
Folkert
|
44f08f9e47
|
implement sqrt and log in the dev backend
|
2023-02-26 21:41:25 +01:00 |
|
Folkert
|
6a40d75353
|
float comparisions
|
2023-02-26 18:14:11 +01:00 |
|
Folkert
|
f1fa014524
|
support 128-bit literals
|
2023-02-26 15:11:49 +01:00 |
|
Folkert de Vries
|
c4cbbea4cb
|
Merge pull request #3958 from roc-lang/dev-backend-bitwise-shifts
Dev backend bitwise shifts
|
2023-01-28 00:46:09 +01:00 |
|
Folkert
|
843f5b15e5
|
bitshifts for the dev backend
|
2023-01-27 11:23:51 +01:00 |
|
Christoph Rüßler
|
1b023f828f
|
dev backend: implement subWrap for all integer types
|
2023-01-27 10:27:50 +01:00 |
|
Brian Carroll
|
28d6d000ec
|
gen_wasm: Implement u128 right shift by delegating to compiler_rt
|
2023-01-23 22:07:40 +00:00 |
|
Folkert de Vries
|
810e05cd9a
|
Merge pull request #4922 from thehabbos007/asa/numgt
gen_dev: fix signed/unsigned `less than` and add signed/unsigned `greater than`
|
2023-01-19 20:49:06 +01:00 |
|
Ahmad Sattar
|
bbd4c9886c
|
Add NumSubWrap as a NumSub copy
|
2023-01-19 09:19:20 +01:00 |
|
Ahmad Sattar
|
6670a5d205
|
Add greater than comparison
|
2023-01-18 20:26:45 +01:00 |
|
Ahmad Sattar
|
3683e9d436
|
Fix up less than comparison
|
2023-01-18 20:26:45 +01:00 |
|
Ayaz Hafiz
|
58081ada19
|
Weaken aliased variable names
|
2023-01-16 10:49:17 -06:00 |
|
Brian Carroll
|
6cc270241e
|
test_gen: fix type annotation on character_literal tests
|
2022-12-14 08:42:01 +00:00 |
|
Ayaz Hafiz
|
6e5de0d0a9
|
Disable test on gen-dev, for now
|
2022-10-12 16:38:37 -05:00 |
|
Ayaz Hafiz
|
861800ceea
|
Fix gen tests in the presence of Eq
|
2022-10-12 16:38:37 -05:00 |
|
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 |
|