mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 22:50:38 +03:00
fix unittest
For future `double` and `float` versions of `log2`.
This commit is contained in:
parent
e1956bd8ec
commit
23b17ca082
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
/*****************************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue