caute neviem rozbehat tento program
Kód:
#include<stdio.h>
#include<float.h>
#include "stdafx.h"
int main()
{
float f=1;
double d=1;
float fepsilon = 1.0f;
while(1.0f + fepsilon != 1.0f){
fepsilon /= 2.0f;
}
printf("F epsilon = %e\n",fepsilon);
double fepsilon = 1.0f;
while(1.0f + fepsilon != 1.0f){
fepsilon /= 2.0f;
}
printf("D epsilon = %e\n",fepsilon);
getchar();
getchar();
return 0;
}
a uz neviem co mam zle
// Kod patri do [code]! Ďuri