diff options
Diffstat (limited to 'fpemulation.c')
-rw-r--r-- | fpemulation.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/fpemulation.c b/fpemulation.c index 2a0d849..ac92099 100644 --- a/fpemulation.c +++ b/fpemulation.c @@ -40,7 +40,6 @@ static void SetupCPUEmFloatArrays(InternalFPF *abase, InternalFPF *bbase); double DoEmFloat(void) { - const char* context = "CPU:Floating Emulation"; InternalFPF* abase = NULL; InternalFPF* bbase = NULL; InternalFPF* cbase = NULL; @@ -50,26 +49,10 @@ DoEmFloat(void) static long loops = 1; abase = malloc(ARRAY_SIZE * sizeof(InternalFPF)); - if (!abase) { - printf("ERROR CONDITION\nContext: %s\n", context); - exit(1); - } - bbase = malloc(ARRAY_SIZE * sizeof(InternalFPF)); - if (!bbase) { - printf("ERROR CONDITION\nContext: %s\n", context); - free(abase); - exit(1); - } cbase = malloc(ARRAY_SIZE * sizeof(InternalFPF)); - if (!cbase) { - printf("ERROR CONDITION\nContext: %s\n", context); - free(abase); - free(bbase); - exit(1); - } SetupCPUEmFloatArrays(abase, bbase); /* FIXME: ugly */ |