Fixed S15.8.2.11_A2 and S15.8.2.12_A2 by wrapping the comparisons in a function that will enforce the rules on NaN.
Fixed S15.8.2.11_A2 and S15.8.2.12_A2 by wrapping the comparisons in a function that will enforce the rules on NaN.

This is as per the spec, sections 15.8.2.11 through 15.8.2.12

Signed-off-by: John Gietzen <565533dc8fd10856192adc18fcbade0f182446ed@gietzen.us>

fholm/IronJS,hnafar/IronJS,hnafar/IronJS,fholm/IronJS,fholm/IronJS,hnafar/IronJS,xamarin/IronJS,xamarin/IronJS,fholm/IronJS,hnafar/IronJS,hnafar/IronJS,xamarin/IronJS,xamarin/IronJS