Brendan Hansknecht
a3ee58155c
add other trig functions to dec benchmark
2023-09-19 10:50:51 +02:00
Brendan Hansknecht
c98d136ca2
ensure correct assembly generation without extra data movement
2023-09-19 10:50:51 +02:00
Brendan Hansknecht
aec135a269
Merge pull request #5820 from roc-lang/update-dec-docs
...
Update Dec docs some more
2023-09-18 02:56:39 +00:00
Richard Feldman
cd70fdc36b
Merge pull request #5800 from roc-lang/drop-is-null-term
...
Drop unused str.zig function
2023-09-17 20:09:48 -04:00
Richard Feldman
83587eca22
Don't say floats have less precision than Dec
...
It's more accurate to say they have issues with base-10.
In fact, very small floats can have *more* digits of precision
than Dec can!
2023-09-17 20:09:30 -04:00
Brendan Hansknecht
bde293db1b
remove duplicate export
2023-09-16 23:46:29 -07:00
Brendan Hansknecht
346eb80bd1
add dec trig functions
2023-09-16 22:55:23 -07:00
Richard Feldman
cbbf04cb85
Update Dec docs
2023-09-17 01:22:40 -04: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
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
Brendan Hansknecht
562c6b4a8c
Clarify Dec range and decimal places in docs
...
Also remove extra numbers from float result for 0.1 + 0.2.
Floats only have 16 decimal places of precision and the rest generally is not printed.
2023-09-15 18:37:51 -07:00
Brendan Hansknecht
070e556c71
make dec bench functional again and much more robust
2023-09-15 12:54:45 -07:00
Folkert
b92d8d55a1
align u128 to 16 again
2023-09-14 14:53:18 +02:00
Folkert
5ebd18cee0
trim some debug messages
2023-09-14 14:43:29 +02:00
Folkert
fdacfce108
all gen-dev tests work again
2023-09-14 14:43:28 +02:00
Folkert
5e4f43e1d8
checkpoint
2023-09-14 14:43:24 +02:00
Folkert
3c8dbce72e
fix alignment bug in list literals
2023-09-14 14:39:15 +02:00
Folkert
5bcfd91f3a
add decimal comparisons and conversions to wasm backend
2023-09-13 23:19:07 +02:00
Folkert
3909443ef4
fix two bugs in the dev backend
2023-09-13 20:24:17 +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
Richard Feldman
1d499a0278
Drop unused str.zig function
...
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2023-09-12 21:45:53 -04:00
Luke Boswell
9507c527c8
Merge pull request #5799 from roc-lang/luke-windows-changes
...
fix memcpy on windows
2023-09-13 05:31:58 +10:00
Folkert
cd89775176
try to force the sysv calling convention
2023-09-12 18:11:55 +02:00
Folkert de Vries
cca2ebb7ca
Merge pull request #5694 from lukewilliamboswell/windows-zig-fixes
...
Fixes for Windows zig builtin tests
2023-09-12 14:45:05 +02:00
Luke Boswell
446cff6157
fix memcpy segfault windows llvm
2023-09-12 14:29:50 +02:00
Luke Boswell
e76c63f448
fix windows function pointer return
2023-09-12 14:29:49 +02:00
Luke Boswell
2e0c83ae63
fixes for zig tests Windows
2023-09-12 19:28:11 +10:00
Richard Feldman
dc7e8b43bd
Rename Float to Frac in more places
2023-09-11 08:50:13 -04:00
Brendan Hansknecht
2cf4f65d97
Update to wyhash final 4
...
This update makes wyhash bad seed resist.
In old version of wyhash certain seeds would ruin the randomness.
Changes applied can be are based off of this diff:
a5995b9..77e50f2
2023-09-08 16:02:38 -07:00
Richard Feldman
b54a37e4b0
Merge remote-tracking branch 'origin/main' into walk-with-index
2023-08-17 11:54:34 -04:00
Richard Feldman
d63144489a
Merge remote-tracking branch 'origin/main' into walk-with-index
2023-08-17 00:08:50 -04:00
Anton-4
63b7fef60f
Merge + update mono tests
2023-08-16 19:21:34 +02:00
Anton-4
2eb8326a70
Merge pull request #5753 from roc-lang/fix-missing-docs-stuff
...
Fix various missing docs implementations
2023-08-16 16:10:01 +02:00
Richard Feldman
ec4f1ce12b
Merge pull request #5762 from roc-lang/inc-dec
...
Use wrapping and saturating arithmetic in builtins
2023-08-15 09:13:35 -04:00
Richard Feldman
df21104457
Inline inc and dec
...
This is for the dev backend's benefit
2023-08-15 02:39:37 -04:00
Richard Feldman
b2d3db3ce9
Fix naming collision in List.roc
2023-08-15 02:29:26 -04:00
Richard Feldman
c3b556ffbc
Add List.walkWithIndex
2023-08-15 02:29:25 -04:00
Richard Feldman
bac445b39b
Simplify List.walk (e.g. for dev backend)
2023-08-15 02:28:41 -04:00
Richard Feldman
e31b41864e
Use wrapping and saturating arithmetic in builtins
2023-08-14 20:01:25 -04:00
Richard Feldman
15a6bc34f4
Merge remote-tracking branch 'origin/main' into inspect-builtin
2023-08-14 15:03:27 -04:00
Richard Feldman
5d6c787deb
Special-case layout conversions for builtin alias
2023-08-14 14:58:28 -04:00
Richard Feldman
d41d976dac
Improve Hash.Hash docs a bit
2023-08-11 21:33:04 -04:00
Richard Feldman
c416e029a3
Remove some Dict and Set ability constraints
2023-08-11 21:19:36 -04:00
Richard Feldman
700776fad7
Make Inspect a builtin
2023-08-10 21:47:42 -04:00
Richard Feldman
6ba4aebb3b
roc format
2023-08-10 20:54:35 -04:00
Richard Feldman
2da41be29f
Merge remote-tracking branch 'origin/main' into abilities-syntax
2023-08-10 20:36:01 -04:00
Richard Feldman
b19d098e5f
Fix test
2023-07-31 13:46:12 -04:00
Richard Feldman
dfa5577332
Don't have Str.replace functions return Result
2023-07-31 09:26:54 -04:00