Filed an issue for this. I tried using isNaN() inside the if and
found the same behavior there.

https://github.com/rejectedsoftware/vibe.d/issues/75