mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-12-25 17:19:46 +05:30
floatscan-experiment.c: make use of EXIT_SUCCESS
This commit is contained in:
parent
6649720fcd
commit
6a9dde51e5
@ -42,6 +42,7 @@
|
||||
#include <math.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* wrapping code --- beginning */
|
||||
const char* fgetc_ptr = NULL;
|
||||
@ -592,6 +593,7 @@ int main(int argc, char** argv) {
|
||||
printf("Decimal floating-point format: %Lf\n", result);
|
||||
printf("Double floating-point format : %Lg\n", result);
|
||||
printf("Hexadecimal form : %La\n", result);
|
||||
return 0;
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
/* test code --- end */
|
||||
|
Loading…
Reference in New Issue
Block a user