Debut TP14
This commit is contained in:
Binary file not shown.
@@ -2,8 +2,9 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
long long int x = 4614256656552045848LL,n=x/2;
|
||||
double* p = (double*) &n;
|
||||
printf("π = %f\n", *p);
|
||||
return EXIT_SUCCESS;
|
||||
long long int n = (4614256656552045848LL);
|
||||
double* p = (double*) &n;
|
||||
*p = *p*2;
|
||||
printf("π = %f\n", *p);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Reference in New Issue
Block a user