Changeset 5067:198ee5cdb585 in roaraudio


Ignore:
Timestamp:
06/18/11 12:50:08 (10 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use a possible bigger float to avoid floading point errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r5065 r5067  
    264264 } 
    265265 if ( time.c_freq ) 
    266   printf("Server clock frequency: %f Hz\n", (float)time.c_freq / 1000000000.f); 
     266  printf("Server clock frequency: %f Hz\n", (float)((double)time.c_freq / (double)1000000000.)); 
    267267 if ( time.c_drift ) 
    268268  printf("Server clock drift    : %llu:2^64 (~10^%f)\n", 
Note: See TracChangeset for help on using the changeset viewer.