Sam Mohr
|
b56fbd38e1
|
Progress on updating entire compiler for snake_case
|
2025-01-05 03:48:03 -08:00 |
|
Brendan Hansknecht
|
0a573ca557
|
Merge remote-tracking branch 'origin/main' into upgrade-llvm-zig
|
2024-12-11 16:38:34 -08:00 |
|
Brendan Hansknecht
|
562032e2d8
|
fix dec multiplication with overflow and saturation
fixes #7276
|
2024-12-08 11:14:38 -08:00 |
|
Luke Boswell
|
2feb5d3c2e
|
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig
|
2024-11-29 08:58:47 +11:00 |
|
JRI98
|
61ca278e31
|
Fix division of zero by zero for Dec
|
2024-11-27 23:38:21 +00:00 |
|
Brendan Hansknecht
|
a8dd6244e9
|
fix zig build errors
|
2024-07-28 15:55:37 +10:00 |
|
Luke Boswell
|
011c13fb17
|
fixup the obivous zig errors
|
2024-07-28 15:55:37 +10:00 |
|
Fabian Schmalzried
|
64e9899cad
|
Add Num.withDecimalPoint
|
2024-04-01 21:08:09 +02:00 |
|
Folkert
|
e16b25c93e
|
Num.pow for Dec
|
2024-01-30 16:33:50 +01:00 |
|
Folkert
|
db3b40a07b
|
Dec floor/ceiling/round
|
2024-01-29 13:39:38 +01:00 |
|
Folkert
|
a7212ceb7f
|
add fract/trunc functions to zig RocDec
|
2024-01-29 12:44:34 +01:00 |
|
Ayaz
|
20bcd70ad2
|
Merge branch 'main' into div-0-should-crash
|
2023-12-02 20:10:32 -06:00 |
|
John Murray
|
298f93d20c
|
update a bunch of panic message to be capitalized
|
2023-11-28 20:46:09 -05:00 |
|
John Murray
|
d6f0709296
|
feedback: update some panic messages
|
2023-11-28 20:21:56 -05:00 |
|
John Murray
|
a5180bed67
|
make zig roc_panic return type be noreturn and remove some unreachable calls
|
2023-11-28 00:01:19 -05:00 |
|
George Ungureanu Vranceanu
|
23b6b432c7
|
Add log function to Dec
|
2023-11-25 21:03:26 +00:00 |
|
John Murray
|
38207cff8a
|
fix typo
|
2023-11-24 10:07:27 -05:00 |
|
John Murray
|
863ecd8da5
|
be excited to panic...
|
2023-11-24 10:07:26 -05:00 |
|
John Murray
|
23e22693d4
|
switch @panic to roc_panic to really throw panics for bad numeric ops
|
2023-11-24 10:07:26 -05:00 |
|
Brendan Hansknecht
|
c18345d5ce
|
fix always_inline from rebase
|
2023-10-23 13:50:34 -07:00 |
|
Brendan Hansknecht
|
2e2e609547
|
update zig to 0.11 and update build script
Also update memcpy to avoid recursive memcpy due to optimizations.
|
2023-10-23 13:50:30 -07:00 |
|
Sekerez
|
9307bdbed0
|
use const
|
2023-09-24 23:15:36 -04:00 |
|
Sekerez
|
fa65d89a3c
|
Add support for Num.abs to Dec type
|
2023-09-24 23:10:25 -04:00 |
|
Brendan Hansknecht
|
346eb80bd1
|
add dec trig functions
|
2023-09-16 22:55:23 -07:00 |
|
Brendan Hansknecht
|
7986d6cdba
|
add benchmark for sin and asin
|
2023-09-16 21:27:21 -07:00 |
|
Brendan Hansknecht
|
67494e00fd
|
add trig functions to dec in zig
|
2023-09-16 11:05:44 -07:00 |
|
Folkert
|
5bcfd91f3a
|
add decimal comparisons and conversions to wasm backend
|
2023-09-13 23:19:07 +02:00 |
|
Folkert
|
89472bf495
|
fix most dev backend tests
|
2023-09-13 20:24:16 +02:00 |
|
Folkert
|
5ca3d3bcf1
|
make llvm tests work again
|
2023-09-13 20:24:15 +02:00 |
|
Brendan Hansknecht
|
0e28423aea
|
fix segfault in Num.toStr for Dec
|
2023-05-28 20:37:32 -07:00 |
|
Ayaz Hafiz
|
3585d5bb5b
|
Implement hash for Dec
|
2023-05-26 11:38:30 -05:00 |
|
Yuki Omoto
|
7ef166a11f
|
remove wrong subtraction in dec div
|
2023-04-09 11:34:24 +09:00 |
|
Yuki Omoto
|
f57085da05
|
refactor dec div
|
2023-04-09 03:52:17 +09:00 |
|
Yuki Omoto
|
219e72ff20
|
Fix dec division problem
Fixed dec division that envolves a number that has a hi word greater than
0 when converted into `U256` like `341dec / 341`.
This commit resolves #5259
|
2023-04-09 00:00:06 +09:00 |
|
Brendan Hansknecht
|
e32c5f6514
|
standardize on decref instead of deinit for name
|
2023-03-13 14:08:23 -07:00 |
|
Ayaz Hafiz
|
4202352b19
|
Update panic tags of builtins
|
2022-11-24 14:46:52 -06:00 |
|
Ayaz Hafiz
|
f29b85e244
|
Update builtins to use RocStr as panic type
|
2022-11-24 14:46:50 -06:00 |
|
Ayaz Hafiz
|
b50974e4ee
|
Update zig tests
|
2022-07-13 17:20:47 -04:00 |
|
Ayaz Hafiz
|
66b8d145a9
|
Support Num.toStr for dec
|
2022-07-13 12:13:21 -04:00 |
|
Anton-4
|
eee85fa45d
|
moved all crates into seperate folder + related path fixes
|
2022-07-01 17:37:43 +02:00 |
|