• Yukihiro "Matz" Matsumoto's avatar
    Skip some `Math.atan2()` tests. · 08f61db6
    Yukihiro "Matz" Matsumoto authored
    Linux `atan2(3)` man page says:
    
    ```
    If  y is positive infinity (negative infinity) and x is positive infinity,
    +pi/4 (-pi/4) is re‐ turned.
    ```
    
    But on Microsoft VC/MinGW, `atan2()` returns `NaN` if either of
    arguments is infinite. So we skip those tests on the platforms.
    08f61db6
math.rb 6.21 KB