boeysue
Full Member level 3
How to write a 64-bit fixed point C code in unix ?Because in unix ,the operation of 64-bit fixed point is not right...So can anyone tell me how to write a 64-bit fixed point operation in C code!thanks for help!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#include <stdio.h>
int main(void)
{
long long a=1122334455667788LL, b=1000;
printf("product=%I64d\n", a*b);
return 0;
}
product=1122334455667788000