pbn/curso/exemplos/09/flimits.c
2025-06-18 09:35:02 -03:00

15 lines
388 B
C

#include <stdio.h>
#include <float.h> // Para as precisões
int main(void) {
printf("float max : %e\n", FLT_MAX);
printf("float max : %e\n", -FLT_MAX);
printf("double max : %e\n", DBL_MAX);
printf("double max : %e\n", -DBL_MAX);
printf("long double max: %Le\n", LDBL_MAX);
printf("long double max: %Le\n", -LDBL_MAX);
return 0;
}