mirror of
https://github.com/dlang/phobos.git
synced 2025-04-26 05:00:35 +03:00
Revert "Remove modules crc32 and std.md5 which had been deprecated by 6ff6adc5bf
"
This reverts commit ecbc04f90d
.
This commit is contained in:
parent
67342afbc9
commit
654f6a6e24
6 changed files with 578 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue