• Fan Guo's avatar
    support -nan in conversion · 78ee2805
    Fan Guo authored
    Summary:
    Folly supports -inf and nan but not -nan, instead it raised unexpected exceptions not handled in the upstream.
    
    This diff is separated out from D569816 -- Diff1.
    
    Test Plan: std::isnan(folly::to<double>(-nan))
    
    Reviewed By: tudorb@fb.com
    
    FB internal diff: D569939
    78ee2805
Conv.h 31.7 KB