summaryrefslogtreecommitdiffstats
path: root/newlib/libm/machine/spu/headers/isnan.h
blob: ada7e6e8d01d39d3ea1f74da84a62f9950dbffd4 (plain)
1
2
3
4
5
6
#include "headers/isnand2.h"

static __inline int _isnan(double x)
{
  return spu_extract(_isnand2(spu_promote(x, 0)), 0);
}