Login
Mod(x,y) modulo ne mogu pos4itat:(
151 просмотров
Перейти к просмотру всей ветки
in Antwort genocidee 26.10.04 12:37, Zuletzt geändert 26.10.04 16:58 (Russman)
Переглючивает гцц, не то число идет в переменную.
#include <stdio.h>
#include <math.h>
void main(){
long double number = 15241578791091755218999.0;
printf ("%Lf\n", number,0);
}
gcc -Wall -lm math.c
math.c:4: warning: return type of `main' is not `int'
a.out
15241578791091755286528.000000
---
This program requires Volkov Commander . (2:460/66.13)
#include <stdio.h>
#include <math.h>
void main(){
long double number = 15241578791091755218999.0;
printf ("%Lf\n", number,0);
}
gcc -Wall -lm math.c
math.c:4: warning: return type of `main' is not `int'
a.out
15241578791091755286528.000000
---
This program requires Volkov Commander . (2:460/66.13)