Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. #include "fp_consts.h"
  2.  
  3. const union _ieee_rep __QNANF = { __FLOAT_QNAN_REP };  
  4. const union _ieee_rep __SNANF = { __FLOAT_SNAN_REP };  
  5. const union _ieee_rep __INFF = { __FLOAT_INF_REP };  
  6. const union _ieee_rep __DENORMF = { __FLOAT_DENORM_REP };  
  7.  
  8. /* ISO C99 */
  9. #undef nanf
  10. /* FIXME */
  11. float nanf(const char * tagp __attribute__((unused)) )
  12.   { return __QNANF.float_val;}
  13.