Fixed compilation on DMD 2.066

isNaN/isInfinity no longer work with integers and '2 * v2' without
assigning to a variable triggered a warning.
Merge pull request #38 from kiith-sa/master

Fixed compilation on DMD 2.066