Ilia Ki
de54532b62
nogc biguint86
2022-05-29 21:58:04 +04:00
dkorpel
b3b0e74152
Unblock "address of ref can be assigned to non-scope parameter"
2022-02-17 00:44:02 +00:00
dkorpel
ea76f45494
Use return scope
instead of just return
2021-11-26 17:03:06 +01:00
dkorpel
cd7389266e
Add explicit return
to inout
functions
2021-11-16 23:22:33 +00:00
Sebastian Wilzbach
63712f491c
Remove redundant access specifier from Phobos
2021-10-27 10:04:23 +03:00
Andrei Alexandrescu
4ded9c6796
Eliminate shared this from std/internal/windows/advapi32.d ( #5467 )
...
Eliminate shared this from std/internal/windows/advapi32.d
Signed-off-by: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
Signed-off-by: Petar Kirov <PetarKirov@users.noreply.github.com>
Signed-off-by: Razvan Nitu <RazvanN7@users.noreply.github.com>
Merged-on-behalf-of: unknown
2021-10-25 08:08:29 +00:00
dkorpel
9ec24190b1
add explicit scope/return for pure functions
2021-07-11 13:34:25 +00:00
dkorpel
5242beb167
add return scope to realloc
2021-06-08 09:32:30 +00:00
dkorpel
b1281eb67a
add more return/scope to pure bigint functions
2021-05-30 01:10:13 +02:00
Walter Bright
f0e8bcf369
Merge pull request #8081 from nordlow/fix-pure-scope-bigint
...
Annotate std/bigint.d and std/internal/math/biguintcore.d to please d…
2021-05-18 09:40:09 -07:00
nordlow
a44f71813f
Annotate std/bigint.d and std/internal/math/biguintcore.d to please dlang/dmd#12520 #8076
2021-05-18 13:14:08 +02:00
nordlow
93ea473f53
Annotate std/internal/digest/sha_SSSE3.d to please dlang/dmd#12520
2021-05-17 23:00:24 +02:00
Nathan Sashihara
efced87ae8
Again use core.math intrinsics instead of std.math wrappers
...
As in PR #7821 & PR #7825 . Mostly changes imports
from std.math being divided into submodules.
2021-05-04 15:59:34 +02:00
berni44
b2019ebab0
Narrow imports of std.math in the rest of phobos.
2021-04-21 03:00:57 +02:00
Nathan Sashihara
52da0ef73c
Throughout Phobos use core.math intrinsics instead of std.math wrappers
...
Followup to PR #7821 .
2021-03-02 07:09:08 +01:00
Bernhard Seckinger
9cb7755041
Replace approxEqual with isClose
2021-01-28 10:39:50 +01:00
Martin Kinkelin
8b96f41d9e
std.internal.math.gammafunction: Minimally relax 2 unittest checks
...
I don't remember on which platforms these checks failed with LDC.
2020-11-28 20:17:08 +01:00
Iain Buclaw
a7ba7644ff
std.internal.math.gammafunction: Define MAXGAMMA, MAXLOG, MINLOG for FreeBSD x86 reals
2020-11-09 14:25:12 +01:00
Luís Ferreira
c6e24b6e24
math: wrap unused code inside of unittest block to increase coverage
...
This code affects code coverage and shouldn't be here at all.
Because it may help on debugging, it's not totally removed.
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2020-10-19 16:15:39 +02:00
Walter Bright
43c7c32694
fix Issue 21182 - asm code is missing int ptr and so defaults to byte op
2020-08-22 13:46:07 +02:00
Walter Bright
bf258e56f2
structure SSSE3 array of constants
2020-08-18 07:32:49 +02:00
Martin Kinkelin
4d3ba080b7
Prepare for properly parsed float/double literals ( #7591 )
...
This fixes failing unittests with dlang/dmd#11387 on Linux x64 by
appending a L suffix to (some) literals, to keep full `real` parsing
precision (instead of double precision).
2020-08-14 21:06:56 +08:00
Nathan Sashihara
453faadf5b
Replace is(Unqual!T == Unqual!U) with is(immutable T == immutable U) for speed & memory usage
2020-08-03 15:07:32 +02:00
Nathan Sashihara
a0f4b65db8
Fix Issue 20889 - Support construction of std.bigint.BigInt from a sign and a byte-array magnitude
...
For consistency with other std.bigint functions allows arbitrary ranges.
2020-06-04 16:04:26 -07:00
Geod24
62c72ca6ff
Follow up review on PR 7441
...
Steven identified a couple mistakes in the massive round of linkification.
Fixing them here.
2020-04-15 02:15:04 +09:00
Geod24
04f3979317
Replace 'Issue XXX' with Bugzilla links
...
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Walter Bright
0d122a993d
more printf format fixes
2020-02-22 23:25:59 -08:00
Martin Kinkelin
596c6b09cc
Remove obsolete hack in std.internal.math.biguintcore
2020-02-21 20:37:14 +01: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
dkorpel
d4f74834d5
fix issue 20493 - incorrect result of BigInt * BigInt
2020-01-11 14:17:47 +01:00
dkorpel
52a1897464
add comments justifying trusted
annotations
2019-12-22 13:48:37 +01:00
dkorpel
10ed87ddb9
make tostring backwards compatible
2019-12-14 17:12:44 +01:00
dkorpel
6c6eacecd0
try keeping storagenop __gshared
2019-12-14 15:23:51 +01:00
dkorpel
4a413c8f01
make biguintx86 safe
2019-12-14 11:56:17 +01:00
dkorpel
5ad491a451
make std.bigint @safe
2019-12-14 11:54:05 +01:00
Ben Jones
1674a915d7
remove unnecessary extra semicolon
2019-12-11 12:51:49 -07:00
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