Revert "Remove modules crc32 and std.md5 which had been deprecated by 6ff6adc5bf"

This reverts commit ecbc04f90d.
This commit is contained in:
monarchdodra 2013-12-21 20:26:38 +01:00
parent 67342afbc9
commit 654f6a6e24
6 changed files with 578 additions and 7 deletions

View file

@ -28,6 +28,7 @@ public import std.format;
public import std.getopt;
public import std.math;
public import std.mathspecial;
public import std.md5;
public import std.metastrings;
public import std.mmfile;
public import std.outbuffer;
@ -91,6 +92,9 @@ else
std.zlib.adler32(0,null); // D.zlib
auto t = task!cmp("foo", "bar"); // parallelism
ubyte[16] buf;
std.md5.sum(buf,"");
creal c = 3.0 + 4.0i;
c = sqrt(c);
assert(c.re == 2);