Brendan Hansknecht
|
4bad31f1ac
|
fixes from last merge of main
|
2024-12-11 16:47:19 -08:00 |
|
Brendan Hansknecht
|
0a573ca557
|
Merge remote-tracking branch 'origin/main' into upgrade-llvm-zig
|
2024-12-11 16:38:34 -08:00 |
|
shua
|
6f4e501069
|
impl add/sub/mul wrapped for u128/i128
|
2024-12-01 22:26:25 +01:00 |
|
shua
|
6dfa458e6c
|
Num.powInt: panic on overflow
|
2024-11-30 11:26:42 +01: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
|
546cb17fb9
|
cut high bits for to large fraction an exponent
|
2024-04-01 21:08:14 +02:00 |
|
Fabian Schmalzried
|
11998b9cc8
|
f32FromParts and f64FromParts for repl
|
2024-04-01 21:08:10 +02:00 |
|
Fabian Schmalzried
|
473b8ef2d3
|
f32/f64toParts in repl only
|
2024-04-01 21:08:09 +02:00 |
|
Richard Feldman
|
3e27e18566
|
Merge remote-tracking branch 'origin/main' into remove-nat
|
2024-01-29 07:23:58 -05:00 |
|
Folkert
|
1e744dca7c
|
missing functions for dev backend for glue
|
2024-01-27 14:51:09 +01:00 |
|
Richard Feldman
|
9518d76cd8
|
Remove Num.bytesTo___ functions
These may be reintroduced in some form later,
but they don't handle endianness and it's not
clear builtins are the right place for them.
|
2024-01-26 16:23:19 -05:00 |
|
Brendan Hansknecht
|
6692f5b15d
|
correct counting bits to return a u8
Also add an impl to the dev backend
|
2023-12-05 12:37:10 -08:00 |
|
John Murray
|
298f93d20c
|
update a bunch of panic message to be capitalized
|
2023-11-28 20:46:09 -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 |
|
John Murray
|
2a762f1379
|
revert change of integer => Integer in panic messages
|
2023-11-27 19:59:30 -05:00 |
|
John Murray
|
38207cff8a
|
fix typo
|
2023-11-24 10:07:27 -05:00 |
|
John Murray
|
abc92ded95
|
add test for divCeil by 0
|
2023-11-24 10:07:26 -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
|
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 |
|
Brendan Hansknecht
|
108d9a54e3
|
Switch Num.tan to a zig builtin
It should be able to share some work between sine and cosine to run faster.
|
2023-09-16 21:27:51 -07:00 |
|
Folkert
|
5ca3d3bcf1
|
make llvm tests work again
|
2023-09-13 20:24:15 +02:00 |
|
Brendan Hansknecht
|
7683c5ae53
|
Stop using llvm instrinsics that just call libc
In a future PR. I will change zig to insure that all of these instrinsics
use musl directly and do not call out to the linked libc.
|
2023-05-31 20:00:04 -07: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
|
0bf3eefbf2
|
dev backend: Num.isMultipleOf
|
2023-04-27 13:50:27 +02:00 |
|
Folkert
|
9357e1ce2b
|
export fn does not work for wasm/llvm
|
2023-04-27 10:44:54 +02:00 |
|
Folkert
|
312fb23567
|
add zig builtins for wrapped mul and shift right (for 128-bit ints)
|
2023-04-26 14:03:50 +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 |
|
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 |
|
Anton-4
|
eee85fa45d
|
moved all crates into seperate folder + related path fixes
|
2022-07-01 17:37:43 +02:00 |
|