• Elliott Hughes's avatar
    Reimplement isinf/isnan/fpclassify. · 02c78a38
    Elliott Hughes authored
    Also move isinf and isnan into libc like everyone else.
    
    Also move fpclassify to libc like the BSDs (but unlike glibc). We need
    this to be able to upgrade our float/double/long double parsing to gdtoa.
    
    Also add some missing aliases. We now have all of:
    
      isnan, __isnan, isnanf, __isnanf, isnanl, __isnanl,
      isinf, __isinf, isinff, __isinff, isinfl, __isinfl,
      __fpclassify, __fpclassifyd, __fpclassifyf, __fpclassifyl.
    
    Bug: 13469877
    Change-Id: I407ffbac06c765a6c5fffda8106c37d7db04f27d
    02c78a38
fpclassify.cpp 3.6 KB