Commit graph

78 commits

Author SHA1 Message Date
Ilya Yaroshenko
eec74c83a2 std.numeric: clean import & CustomFloat printing fix
update toString  template

Issue 13737

new comment

add brace
2014-11-15 23:20:53 +03:00
Ilya Yaroshenko
b6dce24172 unqual
update unittests
2014-11-14 14:14:04 +03:00
Martin Nowak
26b28ec564 Merge pull request #2639 from 9il/findroot
fix Issue 13662: @safe pure nothrow @nogc findRoot
2014-11-07 05:02:32 +01:00
Ilya Yaroshenko
921f88a989 std.numric: clean imports 2014-11-07 00:48:37 +03:00
Ilya Yaroshenko
720c26afbe fix findRoot 2014-11-06 22:20:19 +03:00
Martin Nowak
5f9b77a5b7 Merge pull request #2637 from 9il/fptemp
remove FPTemporary usage
2014-11-06 15:19:42 +01:00
Ilya Yaroshenko
9b20fb00b3 remove FPTemporary usage 2014-10-25 00:43:27 +04:00
Ilya Yaroshenko
aaa00bfb1d update std.math and numeric
is->are
2014-10-25 00:23:30 +04:00
Martin Nowak
c855945f46 Merge pull request #2614 from Geod24/fix-license-doc
[DDOC] Usage of WEB macro for License everywhere
2014-10-17 00:16:49 +02:00
Geod24
0fb95b8c27 Usage of WEB macro for License everywhere 2014-10-15 11:30:42 +02:00
Joakim
093d636de4 Deprecate std.c.* and move all remaining declarations to core.stdc.* 2014-10-14 09:26:21 -05:00
H. S. Teoh
0a57450c41 Wholesale coding style fix for std.numeric. 2014-09-24 10:57:52 -07:00
H. S. Teoh
13c0a4b003 Coding style fixup for PR 2500.
As requested by Andrei.
2014-09-23 13:23:40 -07:00
H. S. Teoh
e4e2739c7b Merge pull request #2500 from 9il/sum-of-logs
added sumOfLog2s
2014-09-23 12:59:06 -07:00
Ilya Yaroshenko
be147398b4 std.numreic: added sumOfLogarithms
renamed, and updated

remove CustomFloat support

remove blank line

update comment

update return type

rename sumOfLogs -> sumOfLog2s

update unittest
2014-09-23 23:29:10 +04:00
Ilya Yaroshenko
e125d03fdb findRoot optimization
restore signbit check

findRoot style update

findRoot style update 2
2014-09-19 21:36:02 +04:00
k-hara
a9c2dc1e6b [bugfix] Initialize uncertain field value 2014-08-22 22:46:54 +09:00
Ilya Yaroshenko
5e1a808f94 rebase 2014-08-06 08:50:13 +04:00
Ilya Yaroshenko
0747cc2816 Update numeric.d
clear comment
2014-07-18 01:02:26 +04:00
Ilya Yaroshenko
7f32ccb8c9 Update numeric.d 2014-07-18 00:51:59 +04:00
Ilya Yaroshenko
9f69de08cd findRoot fix
#1894 #1893 rewopen
2014-06-23 20:57:47 +04:00
gyrovague
fb5dd753a6 Trivial documentation fix for issue 12557
gcd is implemented with Euclid's algorithm, not Euler's algorithm.
https://issues.dlang.org/show_bug.cgi?id=12557
2014-05-14 15:44:58 +02:00
Yazan S. Dabain
a81f6200cf [Trivial] Fix documentation typos 2014-02-28 21:08:19 +02:00
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
Daniel Murphy
fed89857e7 Fix missed cases of <>= operator 2013-12-01 16:31:47 +11:00
Daniel Murphy
a11a20ef74 Remove more uses of NCEG operators in phobos 2013-11-30 14:09:39 +11:00
David Nadlinger
6dbeb6b8a7 Merge pull request #1664 from majiang/master
improve Fft comments: add description of FFT conventions
2013-10-29 08:20:19 -07:00
majiang
85bd7d1931 improve Fft comments: fix typo 'nterleaved'; add description of FFT conventions 2013-10-25 23:19:42 +09:00
Hackerpilot
ae1dcaa3e1 Removed empty declarations. Converted more C-style array declarations to D-style. Removed trailing whitespace 2013-07-13 19:34:37 +00:00
k-hara
e2d991b005 Move checkCTFEable to std.exception.assertCTFEable, and use it 2013-06-02 02:32:24 +09:00
k-hara
6502337a21 Add workaround for bug 9382, which introduced by fixing bug 5933 2013-01-24 14:28:49 +09:00
jmdavis
735c2adbda Changes required for issue# 6277. 2012-07-21 01:57:28 -07:00
dsimcha
4c9d907fcd Optimize fft to take advantage of symmetry for pure real FFTs. 2012-02-19 20:41:59 -05:00
Walter Bright
ecbc5db9c1 fix Issue 4887 - Right-shifting by 32 is allowed and broken 2012-01-23 23:25:11 -08:00
Walter Bright
380ae65511 remove empty statements 2011-12-29 00:05:45 -08:00
David Nadlinger
e312f9898b Strict @property syntax compliance.
This enables the test suite to build with the -property switch enabled.

std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
dawg
2ab1f6d304 flag findRoot delegates as scope 2011-10-30 21:42:32 +01:00
dsimcha
9f9ac7d958 Issue 6514: CTFE dot product. This is a trivial change to the syntax to work around issue 6517, which was the only thing keeping the old dotProduct function from working at compile time. 2011-08-17 07:56:55 -04:00
KennyTM~
df4e92d712 (Minor cleanup) Change some idiomic GC.malloc usage to uninitializedArray
Simplify the common pattern `(cast(T*)GC.malloc(T.sizeof * n, NO_SCAN))[0 .. n]` to the new function `uninitializedArray!(T[])(n)`.

Note that there was some `NO_SCAN` attributes originally determined at runtime using `typeid()`, but now is determined statically using `hasIndirection!()` from the implementation of `uninitializedArray`.
There were also some `GC.malloc` usage looks like `uninitializedArray` in `std.parallelism` but I'm leaving it alone for someone who is more familiar with this module ;).
2011-07-14 04:29:34 +08:00
Andrei Alexandrescu
d061f13d34 https://github.com/D-Programming-Language/phobos/pull/23 2011-05-01 12:11:46 -05:00
Walter Bright
046e1b36db add source links 2011-02-06 15:46:50 -08:00
Don Clugston
84477a5d3e Move Boost copyright declaration from ddoc to normal comment. Fixes ugly ddoc output. 2010-11-24 19:34:47 +00:00
David Simcha
8331c70969 More 64 fixes for semantic errors that only show up when templates are instantiated via unittests. Now I'm actually serious about Phobos passing semantic analysis, except for a few modules due to weird druntime issues. 2010-11-10 05:25:50 +00:00
Shin Fujishiro
3c048ac456 Migration of tup.field[k] to tup[k].
Replaced ad-hoc 'is tuple?' checks with isTuple template.

The "this._cache" change in std.range is just a workaround for bug 5046.
2010-10-13 05:39:53 +00:00
David Simcha
b597d23f83 Bug 4888: Heavy reliance on Bug 3534 in Phobos range usage. I used a different approach here than the first one I tried. I only did what was necessary to make Phobos work instead of trying to fix the deeper issue of making std.algorithm to work w/ const/immutable arrays. 2010-09-18 21:00:52 +00:00
David Simcha
0e48b8e238 Bug 4810: dotProduct problem with ints 2010-09-04 14:34:11 +00:00
David Simcha
063db6c17e Add FFT to std.numeric. 2010-08-13 02:32:59 +00:00
Andrei Alexandrescu
7979116eb4 Replaced std.contracts with std.exception throughout 2010-07-04 22:12:18 +00:00
Don Clugston
80edeca151 Two more B stings. 2010-06-21 20:22:18 +00:00
David Simcha
4459b1dca6 Bug 4306: std.numeric.CustomFloat doesn't work on Mac OS X. 2010-06-13 23:34:05 +00:00