Changeset 5209:8f10bdede5a6 in roaraudio


Ignore:
Timestamp:
10/31/11 21:47:40 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

test for libm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r5187 r5209  
    316316 if ( time.c_freq ) 
    317317  printf("Server clock frequency: %f Hz\n", (float)((double)time.c_freq / (double)1000000000.)); 
    318  if ( time.c_drift ) 
     318 if ( time.c_drift ) { 
     319#ifdef ROAR_HAVE_LIBM 
    319320  printf("Server clock drift    : %llu:2^64 (~10^%f)\n", 
    320321         (long long unsigned int)time.c_drift, logf((float)time.c_drift)/2.302585f); 
     322#else 
     323  printf("Server clock drift    : %llu:2^64\n", 
     324         (long long unsigned int)time.c_drift); 
     325#endif 
     326 } 
    321327} 
    322328 
Note: See TracChangeset for help on using the changeset viewer.