Handle nan/inf/-inf in float to haxe expression code.
Generate std.Math.POSITIVE_INFINITY instead of 1.0/0.0 etc.
Merge pull request #2094 from deltaluca/nan_inf_macro_fix

Handle nan/inf/-inf in float to haxe expression code.