Commit graph

224 commits

Author SHA1 Message Date
JakobOvrum
644cec80ba Merge pull request #3874 from JackStouffer/bigint
Added ReferenceBidirectionalRange to std.internal.test.dummyrange
2016-01-09 18:12:21 +09:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
Jack Stouffer
467276cc92 added ReferenceBidirectionalRange to std.internal.test.dummyrange 2015-12-16 16:55:29 -05:00
Ryan Roden-Corrent
79fd6aac79 Enable getSymbolsByUDA to retrieve private members.
Resolves #15335: getSymbolsByUDA fails if type has private members.
Generous (ab)use of mixins allows getSymbolsByUDA to reference symbols
without trying to access them, allowing it to inspect private members
without failing.

Testing this required private symbols defined outside of std.traits.
This adds std.internal.test.uda, which defines a struct containing
private members that is used in a unittest added to std.traits.
2015-11-28 07:14:47 -05:00
Robert Schadek
f5ce17346d Merge pull request #3806 from 9il/dr
update dummyrange.d
2015-11-12 16:03:14 +01:00
Ilya Yaroshenko
efd177e092 update dummyrange.d 2015-11-11 22:44:07 -08:00
Martin
a3035d7d77 Slightly relax std.internal.math.gammafunction unittest for 64-bit reals
Using LDC master on Win64, I get a relative diff of 1.068e-15 for the
second tuple (input = 1/8), exceeding the allowed upper bound by not even
7%. I chose to be generous and doubled the limit. ;)

More details for the 2nd tuple:
actual:   0x1.0a333fd8b6880p+2
expected: 0x1.0a333fd8b687bp+2
rel diff: 1.067682e-15

The other 4 tuples are perfect matches.
2015-11-08 15:27:34 +01:00
Walter Bright
cf22992cbb Merge pull request #3768 from CyberShadow/pull-20151024-051829
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007 HTML fixes 2015-10-24 06:19:23 +00:00
Brian Schott
c33306d2ca Merge pull request #3750 from WalterBright/sha_SSSE3
sha_SSSE3.d: small optimization
2015-10-19 11:30:58 -07:00
Walter Bright
7fe9cc897c sha_SSSE3.d: small optimization 2015-10-19 07:12:27 -07:00
Walter Bright
db53e3b153 biguintcore: eliminated unnecessary divides 2015-10-19 07:00:42 -07:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Martin Nowak
12119cf360 fix tempCString to support null cstring results again 2015-09-07 16:47:35 +02:00
Martin Nowak
18c5b270e0 Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
	std/internal/cstring.d
	win64.mak
2015-09-07 00:44:29 +02:00
k-hara
156bf68ef7 fix Issue 14980 - getAddressInfo(null) broken 2015-08-31 21:57:01 +09:00
Johan Engelen
0bd234bfe2 Provide MAXGAMMA, MAXLOG, and MINLOG for 64-bit reals.
Inside gammaStirling(), fix a call to pow() that would overflow for 64-bit reals.
2015-07-20 22:42:04 +02:00
Walter Bright
feb88b8148 std.internal.math.biguintcore: minor improvements 2015-07-02 18:41:28 -07:00
H. S. Teoh
47dfc369b0 Merge pull request #3240 from e10s/issue14503
Fix BigInt.toString with "%x"
2015-06-30 10:56:00 -07:00
Iain Buclaw
c3b05edcc5 Merge pull request #3309 from ibuclaw/fix_pr3020
Relax compile-time assertion in gammafunction to runtime
2015-06-30 18:09:04 +02:00
Iain Buclaw
65b103fc08 Relax compile-time assertion in gammafunction to runtime 2015-06-25 11:23:51 +02:00
Walter Bright
4f338368ea std.internal.cstring - @nogc must be inferred 2015-06-18 21:43:57 -07:00
Walter Bright
681964cfbf get tempCString to infer @trusted 2015-06-17 10:16:33 -07:00
Walter Bright
ed1a063e68 Range-ify std.internal.cstring 2nd try 2015-06-16 18:02:00 -07:00
Hara Kenji
46794c7695 Revert "Range-ify std.internal.cstring" 2015-06-13 16:52:55 +09:00
Walter Bright
4d9a304d8c Range-ify std.internal.cstring 2015-06-12 00:39:34 -07:00
Rainer Schuetze
adab223837 remove trailing whitespace, detab, tolf 2015-05-31 11:24:01 +02:00
Daniel Murphy
f98468d0a9 Merge pull request #3339 from burner/internal_windows_advapi_alias_syntax_update
internal_windows_advapi: alias syntax update
2015-05-28 19:12:15 -06:00
Robert burner Schadek
5ec5740ff3 alias fix 2015-05-28 19:50:00 +02:00
Martin
468a7ed080 std.internal.math.gammafunction: loosen some tests for 64-bit reals. 2015-05-21 23:09:55 +02:00
Clement Courbet
8558b22cfe Remove a bad cast (issue 3841). Functional noop. 2015-05-13 20:20:03 +02:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07:00
Dicebot
7970fcc748 Don't use fqn for any/all
In most cases it resolves unambiguosly
2015-05-05 22:22:11 +03:00
Dicebot
1c9ae027ef Rename old std.typetuple symbols inside Phobos
staticIndexOf -> indexOf
allSatisfy -> all
anySatisfy -> any
staticMap -> Map
2015-05-05 22:22:11 +03:00
Dicebot
82f54a38d3 TypeTuple -> MetaList inside Phobos 2015-05-05 22:22:11 +03:00
Dicebot
73f773838d import std.typetuple -> import std.meta 2015-05-05 22:22:10 +03:00
e10s
9e0b10c9ae append letterCase param to toHexString 2015-04-30 00:23:59 +09:00
Dragos Carp
b170d93693 Fix some PHOBOSSRC broken links 2015-04-29 11:02:58 +02:00
k-hara
981bb7be7d Supplemental fix for issue 5770 2015-04-06 01:01:00 +09:00
Robert Schadek
062d415cd4 Merge pull request #3020 from 9il/lmdi
Inverse of the Log Minus Digamma function
2015-03-05 12:55:20 +01:00
Ilya Yaroshenko
9b86eebed5 Inverse of the Log Minus Digamma function
fix test

fix unittest

add crosreferences
2015-03-05 13:48:29 +03:00
Denis Shelomovskij
7820bf3310 Add (mostly @nogc) attributes to bigint module.
Also add comment to `internal.math.biguintcore.fromDecimalString`.
2015-02-27 18:31:05 +03:00
k-hara
e7b3d834d7 detab and remove trailing whitespaces 2015-02-10 00:56:40 +09:00
Andrei Alexandrescu
677edcf220 Merge pull request #2965 from JakobOvrum/bigint_nogc
Add @nogc attribute to several BigInt accessor functions
2015-02-07 08:21:44 -08:00
Jakob Ovrum
6a8bcb32e9 Add @nogc attribute to several BigInt accessor functions 2015-02-07 04:03:36 +09:00
Robert Schadek
581f6d029a Merge pull request #2957 from 9il/logmdigamma
Log Minus Digamma function
2015-02-04 22:59:19 +01:00
Ilya Yaroshenko
f201989054 add refs for logmdigamma, digamma 2015-02-04 23:06:00 +03:00
Ilya Yaroshenko
e7bf1cdfa2 Log Minus Digamma function
logmdigamma: fix comprasion

move declarations
2015-02-04 20:51:11 +03:00
Walter Bright
dc302d26a4 DIP25: make phobos work with it 2015-01-30 12:02:48 -08:00
Ilya Yaroshenko
2c744b54e1 std.range: constraints => primitives
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00