mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-13 02:17:07 +03:00
b5e7b54c7a
git-svn-id: svn://kolibrios.org@6429 a494cfbc-eb01-0410-851d-a64ba20cac60
10 lines
212 B
C
10 lines
212 B
C
#include<stdio.h>
|
|
int main() {
|
|
int t1 = 176401255;
|
|
float f = 0.25f;
|
|
int t2a = (int)(t1 * f); // must be 44100313
|
|
int t2b = (int)(t1 * (float)0.25f);
|
|
printf("t2a=%d t2b=%d \n",t2a,t2b);
|
|
return 0;
|
|
}
|