Manually fix Allman brace style

This commit is contained in:
Sebastian Wilzbach 2017-11-20 15:44:43 +01:00
parent c47c950d84
commit 85ec5dead5
3 changed files with 28 additions and 14 deletions

View file

@ -253,21 +253,25 @@ real betaIncompleteInverse(real a, real b, real y )
* values of a and x.
*/
real gammaIncomplete(real a, real x )
in {
in
{
assert(x >= 0);
assert(a > 0);
}
do {
do
{
return std.internal.math.gammafunction.gammaIncomplete(a, x);
}
/** ditto */
real gammaIncompleteCompl(real a, real x )
in {
in
{
assert(x >= 0);
assert(a > 0);
}
do {
do
{
return std.internal.math.gammafunction.gammaIncompleteCompl(a, x);
}
@ -278,11 +282,13 @@ do {
* gammaIncompleteCompl( a, x ) = p.
*/
real gammaIncompleteComplInverse(real a, real p)
in {
in
{
assert(p >= 0 && p <= 1);
assert(a > 0);
}
do {
do
{
return std.internal.math.gammafunction.gammaIncompleteComplInv(a, p);
}
@ -352,7 +358,8 @@ real normalDistribution(real x)
* Note: This function is only implemented to 80 bit precision.
*/
real normalDistributionInverse(real p)
in {
in
{
assert(p >= 0.0L && p <= 1.0L, "Domain error");
}
do