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
Andu033
57ceb139c7
Update errorfunction.d
2018-10-21 16:15:08 +03: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
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
Jack Stouffer
4ce5d44dbb
Use underscores for number literals with five or more digits
2017-02-23 09:45:49 -05: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
3d67cd228c
style fix: space between operators
2016-04-26 22:26:20 +03:00
Dan Olson
b938a74628
Fix NaN payload unittest in errorfunction
...
For some platforms, math on a NaN may change the sign. This is
ok according to C99. Replaced with test that ignores signbit.
2016-03-19 15:29:00 -07:00
Vladimir Panteleev
86cf380007
HTML fixes
2015-10-24 06:19:23 +00:00
Walter Bright
ac1ff4692a
annotate mathspecial functions
2014-05-18 10:37:49 -07:00
Johannes Pfau
8b124e461c
[ARM] Fix phobos unit tests
2014-01-15 16:31:25 +01:00
Ilya
e1b504b627
Just unused variables.
2011-06-12 16:57:27 +04:00
David Simcha
8aede6061f
Attempt number 2: Work around Bug 4298 in gammafunction and errorfunction code.
2010-11-29 13:57:37 +00:00
David Simcha
172ec1dc1a
Revert the last changeset.
2010-11-20 22:48:31 +00:00
David Simcha
66bdf06479
Work around Bug 4298 in gammafunction and errorfunction code.
2010-11-20 22:02:35 +00:00
Don Clugston
09667828b6
Enable unittests which used to fail, but are working now.
2010-11-19 22:25:28 +00:00
Don Clugston
876bf9789d
Added std.mathspecial. Only 14 functions are included at this stage.
2010-11-18 19:55:57 +00:00