DEV/BUT1/DEV1.1/Adresses/conversion.c

11 lines
198 B
C
Raw Normal View History

2024-02-01 13:55:03 +01:00
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
int main(void) {
long long int n = 4614256656552045848LL;
double* p = (double*) &n;
printf("π = %f\n", *p);
return EXIT_SUCCESS;
}