aboutsummaryrefslogtreecommitdiff
path: root/source/subjfloat_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/subjfloat_functions.c')
-rw-r--r--source/subjfloat_functions.c24
1 files changed, 21 insertions, 3 deletions
diff --git a/source/subjfloat_functions.c b/source/subjfloat_functions.c
index ab1983e..4f3334a 100644
--- a/source/subjfloat_functions.c
+++ b/source/subjfloat_functions.c
@@ -1,12 +1,12 @@
/*============================================================================
-This C source file is part of TestFloat, Release 3b, a package of programs for
+This C source file is part of TestFloat, Release 3c, a package of programs for
testing the correctness of floating-point arithmetic complying with the IEEE
Standard for Floating-Point, by John R. Hauser.
-Copyright 2011, 2012, 2013, 2014, 2015, 2016 The Regents of the University of
-California. All rights reserved.
+Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017 The Regents of the
+University of California. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -66,11 +66,13 @@ genericFuncType *const subjfloat_functions[] = {
#else
0,
#endif
+#ifdef FLOAT64
#ifdef SUBJ_UI32_TO_F64
(genericFuncType *) subj_ui32_to_f64,
#else
0,
#endif
+#endif
#ifdef EXTFLOAT80
#ifdef SUBJ_UI32_TO_EXTF80
(genericFuncType *) subj_ui32_to_extF80M,
@@ -97,11 +99,13 @@ genericFuncType *const subjfloat_functions[] = {
#else
0,
#endif
+#ifdef FLOAT64
#ifdef SUBJ_UI64_TO_F64
(genericFuncType *) subj_ui64_to_f64,
#else
0,
#endif
+#endif
#ifdef EXTFLOAT80
#ifdef SUBJ_UI64_TO_EXTF80
(genericFuncType *) subj_ui64_to_extF80M,
@@ -128,11 +132,13 @@ genericFuncType *const subjfloat_functions[] = {
#else
0,
#endif
+#ifdef FLOAT64
#ifdef SUBJ_I32_TO_F64
(genericFuncType *) subj_i32_to_f64,
#else
0,
#endif
+#endif
#ifdef EXTFLOAT80
#ifdef SUBJ_I32_TO_EXTF80
(genericFuncType *) subj_i32_to_extF80M,
@@ -159,11 +165,13 @@ genericFuncType *const subjfloat_functions[] = {
#else
0,
#endif
+#ifdef FLOAT64
#ifdef SUBJ_I64_TO_F64
(genericFuncType *) subj_i64_to_f64,
#else
0,
#endif
+#endif
#ifdef EXTFLOAT80
#ifdef SUBJ_I64_TO_EXTF80
(genericFuncType *) subj_i64_to_extF80M,
@@ -386,11 +394,13 @@ genericFuncType *const subjfloat_functions[] = {
#else
0,
#endif
+#ifdef FLOAT64
#ifdef SUBJ_F16_TO_F64
(genericFuncType *) subj_f16_to_f64,
#else
0,
#endif
+#endif
#ifdef EXTFLOAT80
#ifdef SUBJ_F16_TO_EXTF80
(genericFuncType *) subj_f16_to_extF80M,
@@ -710,11 +720,13 @@ genericFuncType *const subjfloat_functions[] = {
0,
#endif
#endif
+#ifdef FLOAT64
#ifdef SUBJ_F32_TO_F64
(genericFuncType *) subj_f32_to_f64,
#else
0,
#endif
+#endif
#ifdef EXTFLOAT80
#ifdef SUBJ_F32_TO_EXTF80
(genericFuncType *) subj_f32_to_extF80M,
@@ -826,6 +838,7 @@ genericFuncType *const subjfloat_functions[] = {
#endif
/*------------------------------------------------------------------------
*------------------------------------------------------------------------*/
+#ifdef FLOAT64
#ifdef SUBJ_F64_TO_UI32_R_NEAR_EVEN
(genericFuncType *) subj_f64_to_ui32_r_near_even,
#else
@@ -1147,6 +1160,7 @@ genericFuncType *const subjfloat_functions[] = {
#else
0,
#endif
+#endif
/*------------------------------------------------------------------------
*------------------------------------------------------------------------*/
#ifdef EXTFLOAT80
@@ -1362,11 +1376,13 @@ genericFuncType *const subjfloat_functions[] = {
#else
0,
#endif
+#ifdef FLOAT64
#ifdef SUBJ_EXTF80_TO_F64
(genericFuncType *) subj_extF80M_to_f64,
#else
0,
#endif
+#endif
#ifdef FLOAT128
#ifdef SUBJ_EXTF80_TO_F128
(genericFuncType *) subj_extF80M_to_f128M,
@@ -1680,11 +1696,13 @@ genericFuncType *const subjfloat_functions[] = {
#else
0,
#endif
+#ifdef FLOAT64
#ifdef SUBJ_F128_TO_F64
(genericFuncType *) subj_f128M_to_f64,
#else
0,
#endif
+#endif
#ifdef EXTFLOAT80
#ifdef SUBJ_F128_TO_EXTF80
(genericFuncType *) subj_f128M_to_extF80M,