Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,4 +1,4 @@
|
|||
uint factorial(in uint n) pure nothrow
|
||||
uint factorial(in uint n) pure nothrow @nogc
|
||||
in {
|
||||
assert(n <= 12);
|
||||
} body {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
uint factorial(in uint n) pure nothrow
|
||||
uint factorial(in uint n) pure nothrow @nogc
|
||||
in {
|
||||
assert(n <= 12);
|
||||
} body {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import std.stdio, std.algorithm, std.range;
|
||||
|
||||
uint factorial(in uint n) pure nothrow
|
||||
uint factorial(in uint n) pure nothrow @nogc
|
||||
in {
|
||||
assert(n <= 12);
|
||||
} body {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ uint factorial(in uint n) pure nothrow
|
|||
in {
|
||||
assert(n <= 12);
|
||||
} body {
|
||||
static uint inner(uint n, uint acc) pure nothrow {
|
||||
static uint inner(uint n, uint acc) pure nothrow @nogc {
|
||||
if (n < 1)
|
||||
return acc;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue