Fabian Schmalzried
|
8f217aa51a
|
Better docs
|
2024-04-01 21:08:11 +02:00 |
|
Fabian Schmalzried
|
21d6848176
|
format
|
2024-04-01 21:08:10 +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 |
|
Fabian Schmalzried
|
64e9899cad
|
Add Num.withDecimalPoint
|
2024-04-01 21:08:09 +02:00 |
|
Fabian Schmalzried
|
9c664172dd
|
Add Num.withoutDecimalPoint
|
2024-04-01 21:08:09 +02:00 |
|
Brendan Hansknecht
|
d66ce24dc3
|
Fix format change caused by doc changes
Introduces by anton's recent PR, just an extra space being removed.
|
2024-03-31 11:04:59 -07:00 |
|
Brendan Hansknecht
|
6dc5bfb1b7
|
Use roc_target over target_lexicon
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
|
2024-03-31 10:50:26 -07:00 |
|
Anton-4
|
2b40aa90d4
|
forgot about 32 bit targets
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
|
2024-03-30 17:46:27 +01:00 |
|
Anton-4
|
315fbeb75c
|
list len docs correction
|
2024-03-30 14:47:56 +01:00 |
|
faldor20
|
23dd23c337
|
update builtin comments
|
2024-03-12 00:39:49 +10:00 |
|
faldor20
|
d95da9dd5b
|
completions working
|
2024-03-11 11:10:35 +10:00 |
|
Folkert
|
a2d1a1ddb0
|
simplify the string splitting code (by using std.mem.split)
|
2024-03-05 16:51:30 +01:00 |
|
Anton-4
|
9a6eefdbcf
|
fix sortAsc sortDesc docs
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
|
2024-03-02 19:33:39 +01:00 |
|
Brendan Hansknecht
|
26e21addee
|
Merge pull request #6545 from roc-lang/approx-eq-update
Update Num.isApproxEq
|
2024-03-01 18:06:04 -08:00 |
|
Brendan Hansknecht
|
f79e93cfdc
|
Update Num.isApproxEq
The function is now symmetric and using max instead of sum to separate the absolute and relative tolerance.
Reason for change here: 419553929
|
2024-02-29 11:30:01 -08:00 |
|
Anton-4
|
b74653db8e
|
Merge pull request #6533 from lukewilliamboswell/encode-docs
Docs for `Encode` builtin
|
2024-02-23 15:50:52 +01:00 |
|
Anton-4
|
67cfe7ece0
|
List.concat -> List.append
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
|
2024-02-23 14:21:43 +01:00 |
|
Anton-4
|
af389a9792
|
minor improvement
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
|
2024-02-23 14:08:39 +01:00 |
|
Anton-4
|
df58a4ff07
|
fix expects
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
|
2024-02-23 13:56:34 +01:00 |
|
Luke Boswell
|
a671c4cdc9
|
clean up
|
2024-02-22 19:15:01 +11:00 |
|
Luke Boswell
|
921c90a460
|
roc-gpt attempt
|
2024-02-22 19:04:18 +11:00 |
|
Richard Feldman
|
37b154df4f
|
Remove Str.fromUtf8Range
Seamless slices make this obsolete!
|
2024-02-17 13:20:33 -05:00 |
|
Richard Feldman
|
d378a14414
|
Minor zig refactor
|
2024-02-13 19:49:11 -05:00 |
|
Richard Feldman
|
b2ce7e5fcf
|
Rearrange where usize -> u64 conversions happen
|
2024-02-13 12:50:40 -05:00 |
|
Richard Feldman
|
24a38c4a26
|
Merge remote-tracking branch 'origin/main' into remove-nat
|
2024-02-11 12:26:36 -05:00 |
|
Anton-4
|
3c7a834da1
|
update to new interpolation syntax
|
2024-02-02 13:39:10 +01:00 |
|
Brendan Hansknecht
|
fc6b519b59
|
Merge pull request #6463 from roc-lang/dec-pow
`Num.pow` for `Dec`
|
2024-02-01 09:17:55 -08:00 |
|
Richard Feldman
|
0b42a902ab
|
Have List.withCapacity lowlevel use u64 over usize
|
2024-01-31 20:29:17 -05:00 |
|
Richard Feldman
|
aabd95404f
|
Merge remote-tracking branch 'origin/main' into remove-nat
|
2024-01-30 21:42:45 -05:00 |
|
Brendan Hansknecht
|
90a1468e37
|
Change our alignment for 128bit numbers to match llvm 18 and correct abi
|
2024-01-30 16:38:30 -08:00 |
|
Brendan Hansknecht
|
e7be9d435d
|
Merge pull request #6460 from roc-lang/dec-div-floor
`floor`, `ceiling` and `round` for `Dec`
|
2024-01-30 16:38:12 -08:00 |
|
Folkert
|
e16b25c93e
|
Num.pow for Dec
|
2024-01-30 16:33:50 +01:00 |
|
Kiryl Dziamura
|
b3dfdb562b
|
crash on rem div by zero
|
2024-01-30 11:12:02 +01:00 |
|
Folkert
|
db3b40a07b
|
Dec floor/ceiling/round
|
2024-01-29 13:39:38 +01:00 |
|
Richard Feldman
|
3e27e18566
|
Merge remote-tracking branch 'origin/main' into remove-nat
|
2024-01-29 07:23:58 -05:00 |
|
Folkert
|
a7212ceb7f
|
add fract/trunc functions to zig RocDec
|
2024-01-29 12:44:34 +01:00 |
|
Folkert
|
979128cf32
|
make division by zero (integer) not trap
|
2024-01-29 01:38:32 +01:00 |
|
Folkert de Vries
|
4a593a5b77
|
Merge pull request #6442 from roc-lang/dev-backend-glue-primitives
Dev backend glue primitives
|
2024-01-29 00:08:51 +01:00 |
|
Richard Feldman
|
3be96e52d8
|
roc format
|
2024-01-28 16:35:57 -05:00 |
|
Folkert
|
d4cac5cdd9
|
dict: use Num.mulWrap to prevent branches
|
2024-01-28 16:53:23 +01:00 |
|
Folkert
|
1e744dca7c
|
missing functions for dev backend for glue
|
2024-01-27 14:51:09 +01:00 |
|
Richard Feldman
|
eb3dc3d582
|
Drop unused import in Hash.roc
|
2024-01-26 16:23:20 -05:00 |
|
Richard Feldman
|
fb84c9487d
|
Remove Num.Natural, Num.toNat, and Num.toNatChecked
|
2024-01-26 16:23:20 -05: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 |
|
Richard Feldman
|
ef634ba8e4
|
Remove Nat from documentation
|
2024-01-26 16:22:42 -05:00 |
|
Richard Feldman
|
c4497f2c1c
|
Remove Nat from Num
|
2024-01-26 16:19:51 -05:00 |
|
Richard Feldman
|
502b0fddf2
|
Remove Nat from Hash, Inspect, Encode, Decode
|
2024-01-26 16:17:05 -05:00 |
|
Richard Feldman
|
5b2998966b
|
Update List.replace to no longer use Nat
|
2024-01-26 16:06:09 -05:00 |
|
Richard Feldman
|
a8918a4e3b
|
Update List.dropAt to no longer use Nat
|
2024-01-26 16:06:09 -05:00 |
|