Commit graph

347 commits

Author SHA1 Message Date
Bernhard Seckinger
38c33ed793 Fix Issue 16223 - BigUint: undefined shift for small instantiation type 2019-12-04 09:15:15 +01:00
Berni
5afe334b11 Refactor approxEqual, removed superfluous overload 2019-09-09 18:21:29 +02:00
Robert Schadek
312006cc46 Addes assert messages to bigint 2019-07-10 10:46:56 +01:00
Mike
e0585fa785 Replace D1 operator overloads with D2 operator overloads 2019-07-04 13:33:53 +09:00
Nathan Sashihara
02659f65ba Fix Issue 19983 - Add fast path using slice assignment to std.internal.cstring.tempCString
This is applicable for narrow strings when the output type matches the
string's encoding type.
2019-06-23 22:41:58 -04:00
shove70
4bb550d206 Fixes #19740: Incorrect result of BigInt * BigInt. 2019-04-21 08:41:33 +08:00
Nathan Sashihara
6ffd4e7f28 Replace imports of core.sys.windows.windows to speed up compilation 2018-12-17 21:03:31 -05:00
The Dlang Bot
2e2d5fc264
Merge pull request #6797 from rainers/win64_sha_ssse3
SHA on Win64: use SSSE3 version by adjusting register usage
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-09 09:30:53 +01:00
Rainer Schuetze
4cd43db1d8 SHA on Win64: use SSSE3 version by adjusting register usage 2018-12-08 15:46:12 +01:00
Walter Bright
f30f6b3ce1 inure against windows.d changes by casting to LPCWSTR 2018-12-04 22:56:29 -08:00
The Dlang Bot
a66435ea90
Merge pull request #6764 from rracariu/master
Fix Issue 19396 - ScopeBuffer can't be used in betterC with inline
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-11-21 00:05:11 +01:00
rracariu
7c8d75b72e Fix Issue 19396 - ScopeBuffer can't be used in betterC with inline 2018-11-20 22:14:36 +02:00
Nathan Sashihara
d219440c32 Correct documentation in std.internal.memory 2018-11-18 04:31:42 -05:00
Nathan Sashihara
dcca23edca Fix Issue 19164 - malloc may be considered pure when failure results in program exit (no need to reset errno) 2018-11-17 17:00:16 -05:00
The Dlang Bot
f626143a43
Merge pull request #6699 from n8sh/issue-19197
Fix Issue 19197 - Replace instances of typeid(T).getHash(..) with hashOf
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-11-08 06:21:07 +01:00
Nathan Sashihara
f784f74dad Fix Issue 19197 - Replace instances of typeid(T).getHash(..) with hashOf 2018-10-22 17:10:08 -04:00
Andu033
57ceb139c7
Update errorfunction.d 2018-10-21 16:15:08 +03:00
Iain Buclaw
fd5facfe04 posix.mak: Enforce whitespace before opening parenthesis for version conditions 2018-09-22 16:57:24 +02:00
The Dlang Bot
dc40232b60
Merge pull request #6681 from BBasile/pub-symbol-unittest
Fix issue 11959 - Set private symbols declared in version(unittest) blocks
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-08-26 22:56:44 +02:00
Basile Burg
db819575f1 Fix issue 11959 - Set private symbols declared in version(unittest) blocks 2018-08-26 10:22:11 +02:00
Sebastian Wilzbach
1302dd54c1 Add @betterC extraction testsuite 2018-08-21 17:19:21 +02:00
Walter Bright
45dbd56ccb cstring: add scope 2018-06-09 01:13:48 -07:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
a8c0b833bb Fix DScanner warnings 2018-05-30 13:40:07 +02:00
Steven Schveighoffer
d4a35f09da More removal of version(unittest) 2018-04-13 12:20:02 -04:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Walter Bright
9dec37a9d1 biguintcore: more immutability casts needed 2018-03-19 15:00:17 -07:00
Walter Bright
0fbf185006 biguintcore: immutability cannot be inferred for sub() and add() 2018-03-17 18:47:00 -07:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Jack Stouffer
18cbb29b04 Replaced version(unittest) blocks with version(StdUnittest) 2018-02-01 19:56:59 -05:00
Biotronic
dd371c19ac Added divMod function to std.bigint 2018-01-28 14:24:15 +01:00
Andrei Alexandrescu
adee662094
Merge pull request #5987 from JackStouffer/issue17249
Fix Issue 17249: Added BigInt.getDigit
2018-01-25 16:59:51 -05:00
The Dlang Bot
3784831e30
Merge pull request #6029 from BBasile/issue-14767
fix issue 14767 - Support CTFE of BigInt under x86
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-24 22:39:54 +01:00
Basile Burg
7bd984203c non X86 is not modified anymore, X86 primitives not always inlined 2018-01-17 17:43:20 +01:00
Basile Burg
609e462fce clarify the code comments 2018-01-17 17:27:20 +01:00
Basile Burg
bf2c2e646e remove useless pure attrib 2018-01-14 23:49:21 +01:00
Basile Burg
fa12390b39 prevent deprecetation message about imports + add test from bugzilla 2018-01-14 22:07:17 +01:00
Basile Burg
f2c5ee3bf1 fix issue 14767 - Support CTFE of BigInt under x86 2018-01-14 21:21:36 +01:00
Martin
4b56139f70 Slightly simplify std.internal.cstring realloc logic 2018-01-11 20:39:56 +01:00
Jack Stouffer
dae55d039c Fix Issue 17249: Added BigInt.getDigit 2018-01-03 13:22:02 -05:00
Sebastian Wilzbach
7de3787876 Use static foreach in Phobos 2018-01-03 17:30:11 +01:00
Sebastian Wilzbach
ee08d522cd Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-12-29 18:02:00 +01:00
The Dlang Bot
da00e8f390
Merge pull request #5927 from wilzbach/udflags
Add a StdUnittest version
merged-on-behalf-of: David Nadlinger <code@klickverbot.at>
2017-12-21 13:10:52 +01:00
Sebastian Wilzbach
1d8e1397e3 Use StdUnittest for #5932 2017-12-21 09:36:18 +01:00
Johannes Pfau
3a9b0513d9 gammafunction: Add constants for ieeeQuadruple reals
Setting MAXGAMMA to the same as for ieeeExtended reals means the range
of the gamma function will be limited to the same range as ieeeExtended.
However, until someone reviews the algorithm to work fine for
ieeeQuadruple ranges, this workaround seems fine. We just lose some
128bit real features, but we're still as good as x86.
2017-12-19 20:08:38 +01:00
Steven Schveighoffer
4873e2f6b3 Fix issue 18084 - tempCString type should not change layout when used in
unittests.
2017-12-19 11:55:08 -05:00
The Dlang Bot
ccdfcc9839
Merge pull request #5465 from andralex/sharedstaticinbigintnomore
Eliminate shared this from std/internal/math/biguintcore.d
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-27 21:53:49 +01:00
MetaLang
630e927a14
Remove fully qualified use of dataCaches 2017-11-25 03:33:41 -04:00
MetaLang
603113a0dd
Fix CircleCI and change deprecated symbols 2017-11-25 03:31:05 -04:00
Sebastian Wilzbach
85ec5dead5 Manually fix Allman brace style 2017-11-20 15:45:04 +01:00