Ayaz Hafiz
|
b6383f81ee
|
Numbers are opaques
|
2022-04-25 10:59:42 -04:00 |
|
Richard Feldman
|
082fde976a
|
Merge branch 'trunk' into sqrt-unchecked
|
2022-04-20 08:19:34 -04:00 |
|
Richard Feldman
|
93677001ba
|
Merge pull request #2888 from rtfeldman/divTrunc
rename divFloor to divTrunc
|
2022-04-19 21:57:49 -04:00 |
|
Kevin Gillette
|
9ed4ca9739
|
remove Num.mod and Num.modUnchecked
|
2022-04-18 13:54:40 -06:00 |
|
Kevin Gillette
|
6a3fd3a607
|
rename divFloor to divTrunc
|
2022-04-18 02:33:31 -06:00 |
|
Kevin Gillette
|
1908ff41c3
|
rem, sqrt, log are unchecked but have checked variants
mod exists but is not implemented due to lack of hardware support
(emulation, possibly in terms of rem, is needed).
|
2022-04-17 14:40:39 -06:00 |
|
Folkert
|
2b07b8c78d
|
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc
|
2022-04-13 21:45:40 +02:00 |
|
Richard Feldman
|
6adaf0905e
|
Fix missing * in type annotation
|
2022-04-07 16:29:17 -04:00 |
|
Richard Feldman
|
cd00a98636
|
Add toF32/64 and checked versions
|
2022-04-07 16:13:57 -04:00 |
|
Brendan Hansknecht
|
d681062c63
|
add Num.toNat
|
2022-03-11 11:17:42 -08:00 |
|
Jan Van Bruggen
|
1760db2a0c
|
Add docs for new Int.toInt builtins
|
2022-02-19 11:28:12 -05:00 |
|
Richard Feldman
|
5b6d457aa3
|
Fix typo in Num.roc
|
2022-02-01 11:52:47 -05:00 |
|
Jan Van Bruggen
|
9a8a4c6ed7
|
Add Num.(min/max)(I/U)(8/16) builtins
|
2022-01-22 00:19:17 -07:00 |
|
Jan Van Bruggen
|
8e4b6f0cab
|
Remove Num.(min/max)Int
Replace all uses with `Num.(min/max)I64`,
since all uses expect an `I64`.
|
2022-01-19 09:55:06 -07:00 |
|
Jan Van Bruggen
|
591477e77b
|
Add most remaining Num.min/max* builtins
This skips `min/maxU128`, as they require a subtle change
to the `I128`-centric implementation of `Int`s.
|
2022-01-17 15:26:23 -07:00 |
|
Jan Van Bruggen
|
865dcd5507
|
Expose existing Num.min/max builtin docs
|
2022-01-17 13:17:03 -07:00 |
|
Jan Van Bruggen
|
cdf705941e
|
Improve Num.min/max docstrings
|
2022-01-17 13:17:03 -07:00 |
|
Jan Van Bruggen
|
79241adf8e
|
Reorder Num.min/max docs
|
2022-01-17 13:17:03 -07:00 |
|
Jan Van Bruggen
|
d7e2be306f
|
WIP: Add Num.minI128 builtin (TODOs remain)
|
2022-01-15 17:49:15 -07:00 |
|
Jan Van Bruggen
|
d2c2064782
|
Add missing Num.maxI128 docs
|
2022-01-15 17:49:02 -07:00 |
|
Richard Feldman
|
f83f50a9a7
|
Merge pull request #2337 from rtfeldman/i/2331
Use unsigned LLVM intrinsic arithmetic for unsigned integers
|
2022-01-12 08:29:30 -05:00 |
|
Jan Van Bruggen
|
6c4fcb6514
|
Maybe-fix some maybe-incorrect doc-comments
This might affect `roc docs ...` parsing, but probably not.
|
2022-01-11 20:00:15 -07:00 |
|
ayazhafiz
|
2c41c43aea
|
Implement saturated add/subtract
|
2022-01-10 22:37:08 -05:00 |
|
Richard Feldman
|
46d36ed942
|
Fix tutorial table formatting
|
2022-01-07 19:48:43 -05:00 |
|
Richard Feldman
|
9cd27b72d7
|
Fix some links in Num docs
|
2022-01-07 19:48:43 -05:00 |
|
Jan Van Bruggen
|
8cc5abd219
|
Fix typos in docs for Num.maxDec & Num.minDec
|
2021-12-18 01:21:20 -07:00 |
|
j
|
ec68b1ab38
|
Alphabetize compiler/builtins/docs/ exposures
|
2021-12-15 07:37:15 -07:00 |
|
Jan Van Bruggen
|
d03a51c75b
|
Rename base package to pf everywhere, to match tutorial
|
2021-12-12 05:57:39 -07:00 |
|
rvcas
|
00bd77bf1d
|
chore: update builtin docs
|
2021-11-30 14:55:41 -05:00 |
|
Kevin Sjöberg
|
f6d055dc62
|
Correct minor spelling mistakes
|
2021-11-06 15:29:08 +01:00 |
|
Richard Feldman
|
ea5da5d477
|
Add Native to Endi
|
2021-08-08 23:23:45 -04:00 |
|
Richard Feldman
|
de5328e286
|
Fix the Num docs a bunch
|
2021-08-08 15:56:55 -04:00 |
|
Richard Feldman
|
bec4884028
|
Try having only one parse function
|
2021-06-08 21:57:22 -04:00 |
|
Richard Feldman
|
6446bf8c1a
|
Update some docs
|
2021-06-07 21:42:45 -04:00 |
|
Anton-4
|
22d834ebd9
|
Merge branch 'trunk' of github.com:rtfeldman/roc into typos_ci
|
2021-06-07 12:33:26 +02:00 |
|
Anton-4
|
314503cf7f
|
fixed typos, added typos checking to CI
|
2021-06-05 20:02:54 +02:00 |
|
Richard Feldman
|
49a85bd946
|
Drop obsolete docs
|
2021-06-04 21:27:38 -04:00 |
|
Richard Feldman
|
2b2b6e3ddd
|
Update some more docs
|
2021-06-04 21:27:26 -04:00 |
|
Richard Feldman
|
4e9b11afd4
|
s/0/zero
|
2021-06-04 08:20:33 -04:00 |
|
Richard Feldman
|
4d65cbf183
|
Clarify overflow semantics for add/sub/mul
|
2021-06-04 08:16:37 -04:00 |
|
Richard Feldman
|
23831e4be1
|
s/runtime error/panic in docs
|
2021-06-04 08:16:37 -04:00 |
|
Richard Feldman
|
253f7fed4f
|
Add some Nat docs.
|
2021-06-04 08:16:37 -04:00 |
|
Richard Feldman
|
3b1142feb8
|
Fix some duplicate and missing Num docs
|
2021-06-04 08:16:37 -04:00 |
|
Richard Feldman
|
87f994039b
|
Drop Num.hash64
|
2021-06-04 08:16:37 -04:00 |
|
Richard Feldman
|
db4ce6aef3
|
Revise some more Num docs.
|
2021-06-04 08:16:37 -04:00 |
|
Richard Feldman
|
b08c70985a
|
Remove poison.
|
2021-06-04 08:16:37 -04:00 |
|
Richard Feldman
|
dcd388065c
|
s/Float/Frac and other changes
|
2021-06-04 08:16:37 -04:00 |
|
Richard Feldman
|
d523beb54c
|
Add isFinite and friends
|
2021-06-03 22:31:20 -04:00 |
|
Richard Feldman
|
1bd3f12776
|
Fix a bunch of Int docs
|
2021-06-03 21:31:47 -04:00 |
|
Richard Feldman
|
51b1ac77a4
|
Add Num.format docs
|
2021-05-26 21:01:38 -04:00 |
|