fix unittest

For future `double` and `float` versions of `log2`.
This commit is contained in:
Ilya Yaroshenko 2015-02-05 00:46:51 +03:00
parent e1956bd8ec
commit 23b17ca082

View file

@ -3009,7 +3009,7 @@ real log2(real x) @safe pure nothrow @nogc
unittest
{
// check if values are equal to 19 decimal digits of precision
assert(equalsDigit(log2(1024), 10, 19));
assert(equalsDigit(log2(1024.0L), 10, 19));
}
/*****************************************