Changeset 5014:af22bd800d2b in roaraudio


Ignore:
Timestamp:
05/26/11 13:09:05 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

do not check for libm but for INFINITY and NAN, may help on some targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/roarfloat.c

    r4708 r5014  
    104104  return 0; 
    105105 
    106 #ifdef ROAR_HAVE_LIBM 
     106#ifdef INFINITY 
    107107 if ( roar_float32_isinf(f) ) 
    108108  return INFINITY; 
     109#endif 
    109110 
     111#ifdef NAN 
    110112 if ( roar_float32_isnan(f) ) 
    111113  return NAN; 
Note: See TracChangeset for help on using the changeset viewer.