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
rkulhanek
1a7a139816
Clarify documentation for betaIncomplete. ( #7729 )
...
* Clarify documentation for betaIncomplete.
The documentation alternately describes betaIncomplete as computing the incomplete beta function and the *regularized* incomplete beta function. The definition given is that of the regularized version, and the values returned are consistent with this interpretation as well.
Co-authored-by: Ray Kulhanek <raymond.kulhanek@wright.edu>
2020-12-22 10:05:12 +08:00
Bernhard Seckinger
eb9889abd5
Fix Issue 19283 - [std.mathspecial] documentation for normal distribution doesn't list parameters
2019-10-16 16:14:31 +02:00
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
85ec5dead5
Manually fix Allman brace style
2017-11-20 15:45:04 +01:00
Sebastian Wilzbach
df6365092a
Replace body
keyword with its replacement: do
...
Automatic replacement with
sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
Sebastian Wilzbach
70f06b2357
Remove old, redundant private import access specifier
...
Very very old versions of D (well into 0.x) had imports public by default,
like C header files. This modernizes the codebase and removes the
redundant `private` access specifier.
This has been done with:
sed "s/private import/import/g" -i **/*.d
2017-07-11 12:28:39 +02:00
Sebastian Wilzbach
61717ecc7d
Sort imports
2017-06-12 07:54:38 +02:00
David Nadlinger
3662b6ff55
std.mathspecial: erf*() for quad-precision reals
...
Like the 80 bit real implementation, this is a translation of
CEPHES code.
Verified on LDC/AArch64.
2017-06-10 23:06:53 +01:00
Sebastian Wilzbach
a1bb0515fc
Automatically add spaces to binary operators (>=)
...
command:
sed -E "s/([[:alnum:]]) >= ([[:alnum:]])/\1 >= \2/g" -i **/*.d
sed -E "s/([[:alnum:]])>= ([[:alnum:]])/\1 >= \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) >=([[:alnum:]])/\1 >= \2/g" -i **/*.d
2017-02-23 00:57:47 +01:00
Sebastian Wilzbach
d905ef53b1
Automatically add spaces to binary operators (<=)
...
command:
sed -E "s/([[:alnum:]]) <= ([[:alnum:]])/\1 <= \2/g" -i **/*.d
sed -E "s/([[:alnum:]])<= ([[:alnum:]])/\1 <= \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) <=([[:alnum:]])/\1 <= \2/g" -i **/*.d
2017-02-23 00:57:47 +01:00
Sebastian Wilzbach
a36cec8686
DScanner: automatially set all unattributed unittests to @safe or @system
2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
ec47ac4224
Remove the WEB macro in favor of HTTP
...
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Sebastian Wilzbach
1d34a121e9
apply all-man braces in Phobos
...
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
Sebastian Wilzbach
18b8abf60a
remove the deprecated wiki macros
2016-05-27 05:52:23 +02:00
Vladimir Panteleev
86cf380007
HTML fixes
2015-10-24 06:19:23 +00:00
Rainer Schuetze
adab223837
remove trailing whitespace, detab, tolf
2015-05-31 11:24:01 +02: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
majiang
ee7d941b9a
Fix Issue 14181 - Wrong document for std.mathspecial.normalDistribution
2015-02-15 15:38:34 +09:00
Ilya Yaroshenko
e7bf1cdfa2
Log Minus Digamma function
...
logmdigamma: fix comprasion
move declarations
2015-02-04 20:51:11 +03:00
Geod24
0fb95b8c27
Usage of WEB macro for License everywhere
2014-10-15 11:30:42 +02:00
Walter Bright
ac1ff4692a
annotate mathspecial functions
2014-05-18 10:37:49 -07:00
Karl Broman
320c92d355
Change second paramater of gammaIncompleteComplInverse from x to p
...
- more meaningful for it to be p rather than x
- also, this matches the corresponding internal function in
std.internal.math.gammafunction
- revise comments to match
2012-05-21 06:10:34 -05:00
Karl Broman
d83f9cbdaf
Fix comment describing gammaIncompleteComplInverse in std/mathspecial.d
2012-05-18 16:30:59 -05:00
Walter Bright
046e1b36db
add source links
2011-02-06 15:46:50 -08:00
Walter Bright
fc1155d823
detab, tolf
2011-01-24 17:50:41 -08:00
Don Clugston
876bf9789d
Added std.mathspecial. Only 14 functions are included at this stage.
2010-11-18 19:55:57 +00:00