APL/APL1.1/TP13/conversions.c

13 lines
209 B
C
Raw Normal View History

2021-10-12 14:13:07 +02:00
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
int main(int argc, char * argv[]) {
double n = M_PI*2;
long long int* p = (long long int*) &n;
2021-10-19 15:02:25 +02:00
printf("2π = %lldLL\n", *p);
2021-10-12 14:13:07 +02:00
return EXIT_SUCCESS;
}