Commit graph

65 commits

Author SHA1 Message Date
lindt
218512dc95 documentation / repair broken link for std.checkedint 2022-07-24 18:58:08 +00:00
Atila Neves
8a2bd81b39
Move checkedint out of experimental (#8100)
Move checkedint out of experimental

Signed-off-by: Razvan Nitu <RazvanN7@users.noreply.github.com>
Merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>
2022-01-25 00:17:24 +00:00
Paul Backus
be0b04521a Fix Issue 22249 - std.experimental.checkedint: Warn.onLowerBound does not compile 2021-08-29 23:05:05 +00:00
Iain Buclaw
859a367ffa Cleanup temp files in std.process and std.experimental.checkedint
Co-Authored-By: Bernd Edlinger <bernd.edlinger@hotmail.de>
2021-05-14 15:03:34 +02:00
Nathan Sashihara
6f430a7202 Fix Issue 21758 - std.experimental.checkedint opBinaryRight with integer left-hand side does not compile for any operators except + and - 2021-04-25 20:43:24 +08:00
berni44
b2019ebab0 Narrow imports of std.math in the rest of phobos. 2021-04-21 03:00:57 +02:00
Nathan Sashihara
86e3617665 Fix Issue 21761 - make std.experimental.checkedint.Checked!T.toHash callable when Checked!T is shared 2021-04-12 10:31:30 +02:00
Nathan Sashihara
c98180ccc6 Fix Issue 21759 - std.experimental.checkedint.Checked is not compatible with "%d" and "%x" integer format specifiers 2021-03-25 00:04:02 +01:00
Nathan Sashihara
3a314492c5 Fix Issue 18024 - checkedint.Abort and checkedint.Warn should be @safe 2021-03-24 23:12:06 +01:00
Nathan Sashihara
361b51cddf Fix Issue 21760 - std.conv.to does not know how to convert a string to a std.experimental.checkedint.Checked!T 2021-03-24 23:11:36 +01:00
Andrei Alexandrescu
986b8202ec Use std.ascii.newline 2020-09-20 23:55:07 -04:00
Andrei Alexandrescu
c41ec6f560 Do the right thing and verify the stderr output 2020-09-20 20:13:39 -04:00
Andrei Alexandrescu
5da48602d8 Use redirection of stderr to null 2020-09-20 13:57:42 -04:00
Andrei Alexandrescu
e28ac3c61d EASY: obey the rule of silence. 2020-09-19 22:48:09 -04:00
H. S. Teoh
34a14509d2 std.experimental.checkedint should support chain assignment.
Cf. bug #21169.
2020-09-10 06:06:01 +02:00
MoonlightSentinel
c46c2c3aa6 Fix public examples failing due to missing imports 2020-06-28 18:12:56 +02:00
wolframw
658f8aeff6 Fix Issue 20743 - Checked!(int, Abort) does not abort but raise SIGFPE 2020-04-22 16:55:12 +02:00
Alexandru Militaru
bb62aaca3d Replaced version (unittest) with version (StdUnittest) to avoid unnecessary overhead when compiling with -unittest 2020-01-19 14:05:17 +02:00
David Gileadi
775bcdee51 Turn on -preview=markdown 2019-07-04 10:28:30 -07:00
Iain Buclaw
fd5facfe04 posix.mak: Enforce whitespace before opening parenthesis for version conditions 2018-09-22 16:57:24 +02:00
Vlad Vitan
f21833ff15 Fix Issue 18675 - Missing toHash in std/experimental/checkedint.d 2018-09-08 07:40:02 -04:00
dhasenan
2ca2824f7e Fix issue 18142 - checkint opOpAssign doesn't accept checkedints 2018-08-29 13:09:44 -07:00
The Dlang Bot
15b682af36
Merge pull request #6549 from wilzbach/checked-doc
Fix Issue 18952 - std.experimental.checkedint.Saturate prints integral promotion deprecation message
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-06-14 07:20:31 +02:00
Sebastian Wilzbach
7a8ff39cbb Fix Issue 18952 - std.experimental.checkedint.Saturate prints integral promotion deprecation message 2018-06-08 11:56:01 +02:00
Sebastian Wilzbach
3689a940cf Add a few public examples for common hooks 2018-06-06 19:12:39 +02:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Sebastian Wilzbach
c94d93e121 Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-01-09 02:19:50 +01:00
Sebastian Wilzbach
233e90bdc1 Add PHOBOSSRC urls to std.experimental 2018-01-08 02:52:50 +01:00
Sebastian Wilzbach
d1d6a80e64 Add StdUnittest to stdx.checkedint 2017-12-21 09:36:18 +01:00
RazvanN7
74a8f6bb47 Fix Issue 17365 - checkedint.html is missing the Throw hook description 2017-07-05 17:09:51 +03:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
998ad51fd7 Sort selective imports 2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
Andrei Alexandrescu
f2ff3527a8 opChecked: use "overflow" consistently in code & dox 2017-06-03 13:22:10 -04:00
Sebastian Wilzbach
090d5164e8 Fix links from $(LREF $(D ...)) -> $(LREF ...)
sed -E 's/[$]\(D [$]\(LREF (.*)\)\)/$(LREF \1)/' -i **/*.d
2017-03-05 08:11:29 +01:00
Sebastian Wilzbach
5b07bd5939 [BOOKTABLES]: Add BOOKTABLE to stdx.checkedint (#5238)
[BOOKTABLES]: Add BOOKTABLE to stdx.checkedint
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-03-04 08:50:39 +01:00
Sebastian Wilzbach
427bcb9c71 Fix CircleCi: auto functions that return null should be void 2017-02-28 22:27:51 +01:00
Andrei Alexandrescu
a4755b7769 Add simple example at the beginning 2017-02-25 14:26:14 -05:00
Sebastian Wilzbach
78f4e8990e Fix CircleCi for std.experimental.checkedint (add unittest attributes) 2017-02-24 17:20:02 +01:00
Andrei Alexandrescu
4c9e0502a9 Please the style checker although I shouldn't have to 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
5919487140 Use std.math.isNaN instead of comparison to fix failures on Darwin 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
d3ddf0fd38 Improve docs spacing, remove spurious output in unittest 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
30626d289d Improve coverage a bit more 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
0f75fc2ac1 Fix copypasta in documentation 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
082b8b61c8 Add Throw hook, improve coverage, fix a few bugs 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
89df85c412 Lil more coverage 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
cde67f4ca1 Increase coverage, fix bugs 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
ca164a7d74 Add isNAN function, fix bug 2017-02-24 09:12:12 -05:00