diff options
author | John Hauser <jhauser@eecs.berkeley.edu> | 2017-02-10 12:38:35 -0800 |
---|---|---|
committer | John Hauser <jhauser@eecs.berkeley.edu> | 2017-02-10 12:38:35 -0800 |
commit | f755993d040a8ea9c1acf758efce76da60870627 (patch) | |
tree | dbc9bd5562476b06769ac1a1fe429ac1dde56b84 /source/subjfloat_functions.c | |
parent | ddfb9e70c434ae238635784ce66cb7ed93d0a2e7 (diff) | |
download | berkeley-testfloat-3-f755993d040a8ea9c1acf758efce76da60870627.zip berkeley-testfloat-3-f755993d040a8ea9c1acf758efce76da60870627.tar.gz berkeley-testfloat-3-f755993d040a8ea9c1acf758efce76da60870627.tar.bz2 |
Release 3c. See "doc/TestFloat-history.html".
Diffstat (limited to 'source/subjfloat_functions.c')
-rw-r--r-- | source/subjfloat_functions.c | 24 |
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, |