#include <stdio.h>#include <string.h>#include <signal.h>#include <stdlib.h>#include "arith.h"#include "arith.internal.h"

Go to the source code of this file.
Defines | |
| #define | RAND_ITERS 10000 |
| #define | FLAGMASK |
| #define | AR_ERR (AR_STAT_OVERFLOW | AR_STAT_UNDEFINED) |
| #define | U "_sunOS" |
Functions/Subroutines | |
| void | fadd (float *z, float *a, float *b) |
| void | fsub (float *z, float *a, float *b) |
| void | fmul (float *z, float *a, float *b) |
| void | fdiv (float *z, float *a, float *b) |
| void | xdfadd (long double *z, long double *a, long double *b) |
| void | xdfsub (long double *z, long double *a, long double *b) |
| void | xdfmul (long double *z, long double *a, long double *b) |
| void | xdfdiv (long double *z, long double *a, long double *b) |
| void | dfadd (double *z, double *a, double *b) |
| void | dfsub (double *z, double *a, double *b) |
| void | dfmul (double *z, double *a, double *b) |
| void | dfdiv (double *z, double *a, double *b) |
| void | fperr (int sig) |
| int | matherr () |
| int | getnewline (FILE *fp) |
| int | getcray64 (FILE *fp, AR_CRAY_64 *x) |
| int | getcray128 (FILE *fp, AR_CRAY_128 *x) |
| int | getieee32 (FILE *fp, AR_IEEE_32 *x) |
| int | getieee64 (FILE *fp, AR_IEEE_64 *x) |
| int | getint64 (FILE *fp, AR_INT_64 *x) |
| int | getint (FILE *fp, int *x) |
| int | getcray64_2 (FILE *fp, AR_CRAY_64 *x, AR_CRAY_64 *y, AR_CRAY_64 *res, int *ansflags) |
| int | getcray64_1 (FILE *fp, AR_CRAY_64 *x, AR_CRAY_64 *res, int *ansflags) |
| int | getcray64_i (FILE *fp, AR_CRAY_64 *x, AR_INT_64 *y, AR_CRAY_64 *res, int *ansflags) |
| int | getcray64_i2 (FILE *fp, AR_INT_64 *x, AR_INT_64 *y, AR_INT_64 *res, int *ansflags) |
| int | getcray128_2 (FILE *fp, AR_CRAY_128 *x, AR_CRAY_128 *y, AR_CRAY_128 *res, int *ansflags) |
| int | getcray128_1 (FILE *fp, AR_CRAY_128 *x, AR_CRAY_128 *res, int *ansflags) |
| int | getcray128_1a (FILE *fp, AR_INT_64 *x, AR_CRAY_128 *res, int *ansflags) |
| int | getcray128_1b (FILE *fp, AR_CRAY_128 *x, AR_INT_64 *res, int *ansflags) |
| int | getcray128_1c (FILE *fp, AR_CRAY_128 *x, AR_IEEE_64 *res, int *ansflags) |
| int | getcray128_i (FILE *fp, AR_CRAY_128 *x, AR_INT_64 *y, AR_CRAY_128 *res, int *ansflags) |
| int | getcray128_64 (FILE *fp, AR_CRAY_128 *x, AR_CRAY_64 *y, AR_CRAY_128 *res, int *ansflags) |
| int | getieee64_2 (FILE *fp, AR_IEEE_64 *x, AR_IEEE_64 *y, AR_IEEE_64 *res, int *ansflags) |
| int | getieee64_2c (FILE *fp, AR_CPLX_IEEE_64 *x, AR_CPLX_IEEE_64 *y, AR_CPLX_IEEE_64 *res, int *ansflags) |
| int | getieee64_1 (FILE *fp, AR_IEEE_64 *x, AR_IEEE_64 *res, int *ansflags) |
| int | getieee32_2 (FILE *fp, AR_IEEE_32 *x, AR_IEEE_32 *y, AR_IEEE_32 *res, int *ansflags) |
| int | getieee32_2c (FILE *fp, AR_CPLX_IEEE_32 *x, AR_CPLX_IEEE_32 *y, AR_CPLX_IEEE_32 *res, int *ansflags) |
| int | getieee32_1 (FILE *fp, AR_IEEE_32 *x, AR_IEEE_32 *res, int *ansflags) |
| int | getint64_1 (FILE *fp, AR_INT_64 *x, AR_INT_64 *res, int *ansflags) |
| int | crayok64 (AR_CRAY_64 *ans, AR_CRAY_64 *res, int ansflags, int resflags) |
| int | crayok64i (AR_INT_64 *ans, AR_INT_64 *res, int ansflags, int resflags) |
| int | crayok128 (AR_CRAY_128 *ans, AR_CRAY_128 *res, int ansflags, int resflags) |
| int | ieeeok64 (AR_IEEE_64 *ans, AR_IEEE_64 *res, int ansflags, int resflags) |
| int | ieeeok32 (AR_IEEE_32 *ans, AR_IEEE_32 *res, int ansflags, int resflags) |
| int | intok64 (AR_INT_64 *ans, AR_INT_64 *res, int ansflags, int resflags) |
| prcray64 (AR_CRAY_64 *x) | |
| prcray128 (AR_CRAY_128 *x) | |
| print64 (AR_INT_64 *x) | |
| prieee64 (AR_IEEE_64 *x) | |
| prieee32 (AR_IEEE_32 *x) | |
| crayerr64_2 (char *lab, AR_CRAY_64 *x, AR_CRAY_64 *y, AR_CRAY_64 *ans, AR_CRAY_64 *res, int ansflags, int resflags) | |
| crayerr64_1 (char *lab, AR_CRAY_64 *x, AR_CRAY_64 *ans, AR_CRAY_64 *res, int ansflags, int resflags) | |
| crayerr64_i (char *lab, AR_CRAY_64 *x, AR_INT_64 *y, AR_CRAY_64 *ans, AR_CRAY_64 *res, int ansflags, int resflags) | |
| crayerr64_i2 (char *lab, AR_INT_64 *x, AR_INT_64 *y, AR_INT_64 *ans, AR_INT_64 *res, int ansflags, int resflags) | |
| crayerr128_2 (char *lab, AR_CRAY_128 *x, AR_CRAY_128 *y, AR_CRAY_128 *ans, AR_CRAY_128 *res, int ansflags, int resflags) | |
| crayerr128_1 (char *lab, AR_CRAY_128 *x, AR_CRAY_128 *ans, AR_CRAY_128 *res, int ansflags, int resflags) | |
| crayerr128_1a (char *lab, AR_INT_64 *x, AR_CRAY_128 *ans, AR_CRAY_128 *res, int ansflags, int resflags) | |
| crayerr128_1b (char *lab, AR_CRAY_128 *x, AR_INT_64 *ans, AR_INT_64 *res, int ansflags, int resflags) | |
| crayerr128_1c (char *lab, AR_CRAY_128 *x, AR_IEEE_64 *ans, AR_IEEE_64 *res, int ansflags, int resflags) | |
| crayerr128_i (char *lab, AR_CRAY_128 *x, AR_INT_64 *y, AR_CRAY_128 *ans, AR_CRAY_128 *res, int ansflags, int resflags) | |
| crayerr128_64 (char *lab, AR_CRAY_128 *x, AR_CRAY_64 *y, AR_CRAY_128 *ans, AR_CRAY_128 *res, int ansflags, int resflags) | |
| ieeeerr64_2 (char *lab, AR_IEEE_64 *x, AR_IEEE_64 *y, AR_IEEE_64 *ans, AR_IEEE_64 *res, int ansflags, int resflags) | |
| ieeeerr64_2c (char *lab, AR_CPLX_IEEE_64 *x, AR_CPLX_IEEE_64 *y, AR_CPLX_IEEE_64 *ans, AR_CPLX_IEEE_64 *res, int ansflags, int resflags) | |
| ieeeerr64_1 (char *lab, AR_IEEE_64 *x, AR_IEEE_64 *ans, AR_IEEE_64 *res, int ansflags, int resflags) | |
| ieeeerr32_2 (char *lab, AR_IEEE_32 *x, AR_IEEE_32 *y, AR_IEEE_32 *ans, AR_IEEE_32 *res, int ansflags, int resflags) | |
| ieeeerr32_2c (char *lab, AR_CPLX_IEEE_32 *x, AR_CPLX_IEEE_32 *y, AR_CPLX_IEEE_32 *ans, AR_CPLX_IEEE_32 *res, int ansflags, int resflags) | |
| ieeeerr32_1 (char *lab, AR_IEEE_32 *x, AR_IEEE_32 *ans, AR_IEEE_32 *res, int ansflags, int resflags) | |
| interr64_1 (char *lab, AR_INT_64 *x, AR_INT_64 *ans, AR_INT_64 *res, int ansflags, int resflags) | |
| craytest64_2 (char *fn, char *lab, int(*op)(), int rounding, int *tests, int *failures) | |
| craytest64_2t (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| craytest64_1 (char *fn, char *lab, int(*op)(), int rounding, int *tests, int *failures) | |
| craytest64_1t (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| craytest64_c (char *fn, char *lab, int(*op)(), AR_TYPE type1, AR_TYPE type2, int *tests, int *failures) | |
| craytest64_i (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| craytest64_i2 (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| craytest128_64 (char *fn, char *lab, int(*op)(), AR_TYPE type1, AR_TYPE type2, int *tests, int *failures) | |
| craytest128_2t (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| craytest128_1 (char *fn, char *lab, int(*op)(), int rounding, int *tests, int *failures) | |
| craytest128_1t (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| craytest128_i (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| ieeetest64_2c (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| ieeetest64_2cmp (char *fn, char *lab, AR_COMPARE_TYPE(*op)(), AR_TYPE type, int *tests, int *failures) | |
| ieeetest64_2t (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| ieeetest64_1t (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| ieeetest32_2c (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| ieeetest32_2cmp (char *fn, char *lab, AR_COMPARE_TYPE(*op)(), AR_TYPE type, int *tests, int *failures) | |
| ieeetest32_2t (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| ieeetest32_1t (char *fn, char *lab, int(*op)(), AR_TYPE type, int *tests, int *failures) | |
| ieeerand128_2 (char *lab, int(*simop)(), int rounding, void(*realop)(), int *tests, int *lowp, int *highp) | |
| ieeerand64_2 (char *lab, int(*simop)(), int rounding, void(*realop)(), int *tests, int *lowp, int *highp) | |
| ieeerand32_2 (char *lab, int(*simop)(), int rounding, void(*realop)(), int *tests, int *lowp, int *highp) | |
| convtest64 (char *fn, char *lab, int(*op)(), int opt1, int opt2, int *tests, int *failures) | |
| convtest128a (char *fn, char *lab, int(*op)(), int opt, int *tests, int *failures) | |
| convtest128b (char *fn, char *lab, int(*op)(), int opt, int *tests, int *failures) | |
| convtest128c (char *fn, char *lab, int(*op)(), int opt, int *tests, int *failures) | |
| misc_tests (int *failures) | |
| t_index () | |
| t_scan () | |
| t_verify () | |
| validate (int status, int xstatus, int result, int xresult) | |
| main (int argc, char **argv) | |
Variables | |
| static volatile int | fp_error = 0 |
| AR_TYPE | inttype |
| static | misc_errors = 0 |
| static char | USMID [] = "\n%Z%%M% %I% %G% %U%\n" |
| static char | rcsid [] = "$Id: confidence.c,v 1.1.1.1 2005/10/21 19:00:00 marcel Exp $" |
| #define AR_ERR (AR_STAT_OVERFLOW | AR_STAT_UNDEFINED) |
Definition at line 57 of file confidence.c.
Referenced by crayok128(), crayok64(), crayok64i(), ieeeok32(), ieeeok64(), and intok64().
| #define FLAGMASK |
Value:
Definition at line 54 of file confidence.c.
Referenced by crayok128(), crayok64(), crayok64i(), ieeeok32(), ieeeok64(), and intok64().
| #define RAND_ITERS 10000 |
Definition at line 52 of file confidence.c.
| #define U "_sunOS" |
Referenced by VN_VALNUM::_bottom(), _cpp_builtin_macro_text(), accumulate_line_counts(), add_line_counts(), All_Bits_Set(), analyze_subscript_affine_affine(), c_atoq(), calc_defect(), Composed_Align_Type(), cpp_register_pragma(), elim_create(), emit_a_rotate(), eval_if_expression(), Exp_Extract_Bits(), gen_pseudo_inverse_32bit(), ETABLE::Gvn(), h8300_adjust_insn_length(), lambda_loopnest_transform(), likely_spilled_retval_1(), likely_spilled_retval_p(), linemap_line_start(), main(), make_head(), make_import_fixup_entry(), make_one(), make_singleton_name_thunk(), make_tail(), Mask64(), mds_zero_extract_andi(), Memop_Variant(), mmix_intval(), output_return_instruction(), parse_include(), pe_create_import_fixup(), pe_process_import_defs(), pop_srcloc(), process_def_file(), push_srcloc(), register_pragma(), register_pragma_1(), restore_registered_pragmas(), sh_register_move_cost(), Targ_IntrinsicOp(), u_define(), Unify_Rty(), and write_langs().
| convtest128a | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| int | opt, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1899 of file confidence.c.
References crayerr128_1a(), crayok128(), fclose(), fopen, fp, getcray128_1a(), op, and printf().
Referenced by main().
| convtest128b | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| int | opt, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1929 of file confidence.c.
References crayerr128_1b(), fclose(), fopen, fp, getcray128_1b(), intok64(), op, and printf().
Referenced by main().
| convtest128c | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| int | opt, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1959 of file confidence.c.
References crayerr128_1c(), fclose(), fopen, fp, getcray128_1c(), ieeeok64(), op, and printf().
Referenced by main().
| convtest64 | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| int | opt1, | |||
| int | opt2, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1870 of file confidence.c.
References fclose(), fopen, fp, getint64_1(), interr64_1(), intok64(), op, and printf().
Referenced by main().
| crayerr128_1 | ( | char * | lab, | |
| AR_CRAY_128 * | x, | |||
| AR_CRAY_128 * | ans, | |||
| AR_CRAY_128 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 727 of file confidence.c.
References prcray128(), and printf().
Referenced by craytest128_1(), and craytest128_1t().
| crayerr128_1a | ( | char * | lab, | |
| AR_INT_64 * | x, | |||
| AR_CRAY_128 * | ans, | |||
| AR_CRAY_128 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 742 of file confidence.c.
References prcray128(), print64(), and printf().
Referenced by convtest128a().
| crayerr128_1b | ( | char * | lab, | |
| AR_CRAY_128 * | x, | |||
| AR_INT_64 * | ans, | |||
| AR_INT_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 757 of file confidence.c.
References prcray128(), print64(), and printf().
Referenced by convtest128b().
| crayerr128_1c | ( | char * | lab, | |
| AR_CRAY_128 * | x, | |||
| AR_IEEE_64 * | ans, | |||
| AR_IEEE_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 772 of file confidence.c.
References prcray128(), prieee64(), and printf().
Referenced by convtest128c().
| crayerr128_2 | ( | char * | lab, | |
| AR_CRAY_128 * | x, | |||
| AR_CRAY_128 * | y, | |||
| AR_CRAY_128 * | ans, | |||
| AR_CRAY_128 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 709 of file confidence.c.
References prcray128(), and printf().
Referenced by craytest128_2t().
| crayerr128_64 | ( | char * | lab, | |
| AR_CRAY_128 * | x, | |||
| AR_CRAY_64 * | y, | |||
| AR_CRAY_128 * | ans, | |||
| AR_CRAY_128 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 805 of file confidence.c.
References prcray128(), prcray64(), and printf().
Referenced by craytest128_64().
| crayerr128_i | ( | char * | lab, | |
| AR_CRAY_128 * | x, | |||
| AR_INT_64 * | y, | |||
| AR_CRAY_128 * | ans, | |||
| AR_CRAY_128 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 787 of file confidence.c.
References prcray128(), print64(), and printf().
Referenced by craytest128_i().
| crayerr64_1 | ( | char * | lab, | |
| AR_CRAY_64 * | x, | |||
| AR_CRAY_64 * | ans, | |||
| AR_CRAY_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 658 of file confidence.c.
References prcray64(), and printf().
Referenced by craytest64_1(), and craytest64_1t().
| crayerr64_2 | ( | char * | lab, | |
| AR_CRAY_64 * | x, | |||
| AR_CRAY_64 * | y, | |||
| AR_CRAY_64 * | ans, | |||
| AR_CRAY_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 640 of file confidence.c.
References prcray64(), and printf().
Referenced by craytest64_2(), craytest64_2t(), and craytest64_c().
| crayerr64_i | ( | char * | lab, | |
| AR_CRAY_64 * | x, | |||
| AR_INT_64 * | y, | |||
| AR_CRAY_64 * | ans, | |||
| AR_CRAY_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 673 of file confidence.c.
References prcray64(), print64(), and printf().
Referenced by craytest64_i().
| crayerr64_i2 | ( | char * | lab, | |
| AR_INT_64 * | x, | |||
| AR_INT_64 * | y, | |||
| AR_INT_64 * | ans, | |||
| AR_INT_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 691 of file confidence.c.
References print64(), and printf().
Referenced by craytest64_i2().
| int crayok128 | ( | AR_CRAY_128 * | ans, | |
| AR_CRAY_128 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 523 of file confidence.c.
References AR_ERR, AR_CRAY_128::coeff0, AR_CRAY_128::coeff1, AR_CRAY_128::coeff2, AR_CRAY_128::coeff3, AR_CRAY_128::coeff4, AR_CRAY_128::coeff5, AR_CRAY_128::expo, FLAGMASK, and AR_CRAY_128::sign.
Referenced by convtest128a(), craytest128_1(), craytest128_1t(), craytest128_2t(), craytest128_64(), and craytest128_i().
| int crayok64 | ( | AR_CRAY_64 * | ans, | |
| AR_CRAY_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 490 of file confidence.c.
References AR_ERR, AR_CRAY_64::coeff0, AR_CRAY_64::coeff1, AR_CRAY_64::coeff2, AR_CRAY_64::expo, FLAGMASK, and AR_CRAY_64::sign.
Referenced by craytest64_1(), craytest64_1t(), craytest64_2(), craytest64_2t(), craytest64_c(), and craytest64_i().
Definition at line 507 of file confidence.c.
References AR_ERR, FLAGMASK, AR_INT_64::part1, AR_INT_64::part2, AR_INT_64::part3, and AR_INT_64::part4.
Referenced by craytest64_i2().
| craytest128_1 | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| int | rounding, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1258 of file confidence.c.
References crayerr128_1(), crayok128(), fclose(), fopen, fp, getcray128_1(), i, op, printf(), and x.
| craytest128_1t | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1287 of file confidence.c.
References crayerr128_1(), crayok128(), fclose(), fopen, fp, getcray128_1(), i, op, printf(), and x.
Referenced by main().
| craytest128_2t | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1229 of file confidence.c.
References crayerr128_2(), crayok128(), fclose(), fopen, fp, getcray128_2(), i, op, printf(), x, and is::y.
Referenced by main().
| craytest128_64 | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type1, | |||
| AR_TYPE | type2, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1198 of file confidence.c.
References crayerr128_64(), crayok128(), fclose(), fopen, fp, getcray128_64(), i, op, printf(), x, and is::y.
Referenced by main().
| craytest128_i | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1316 of file confidence.c.
References AR_Int_64_S, crayerr128_i(), crayok128(), fclose(), fopen, fp, getcray128_i(), i, inttype, op, printf(), x, and is::y.
Referenced by main().
| craytest64_1 | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| int | rounding, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1049 of file confidence.c.
References crayerr64_1(), crayok64(), fclose(), fopen, fp, getcray64_1(), i, op, printf(), and x.
Referenced by main().
| craytest64_1t | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1078 of file confidence.c.
References crayerr64_1(), crayok64(), fclose(), fopen, fp, getcray64_1(), i, op, printf(), and x.
Referenced by main().
| craytest64_2 | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| int | rounding, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 988 of file confidence.c.
References crayerr64_2(), crayok64(), fclose(), fopen, fp, getcray64_2(), i, op, printf(), x, and is::y.
Referenced by main().
| craytest64_2t | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1020 of file confidence.c.
References crayerr64_2(), crayok64(), fclose(), fopen, fp, getcray64_2(), i, op, printf(), x, and is::y.
Referenced by main().
| craytest64_c | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type1, | |||
| AR_TYPE | type2, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1107 of file confidence.c.
References crayerr64_2(), crayok64(), fclose(), fopen, fp, getcray64_2(), i, AR_CPLX_CRAY_64::imag, op, printf(), AR_CPLX_CRAY_64::real, and x.
Referenced by main().
| craytest64_i | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1138 of file confidence.c.
References AR_Int_64_S, crayerr64_i(), crayok64(), fclose(), fopen, fp, getcray64_i(), i, inttype, op, printf(), x, and is::y.
Referenced by main().
| craytest64_i2 | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1169 of file confidence.c.
References crayerr64_i2(), crayok64i(), fclose(), fopen, fp, getcray64_i2(), i, op, printf(), x, and is::y.
Referenced by main().
| void dfadd | ( | double * | z, | |
| double * | a, | |||
| double * | b | |||
| ) |
| void dfdiv | ( | double * | z, | |
| double * | a, | |||
| double * | b | |||
| ) |
| void dfmul | ( | double * | z, | |
| double * | a, | |||
| double * | b | |||
| ) |
| void dfsub | ( | double * | z, | |
| double * | a, | |||
| double * | b | |||
| ) |
| void fadd | ( | float * | z, | |
| float * | a, | |||
| float * | b | |||
| ) |
Definition at line 60 of file confidence.c.
Referenced by Expand_Const(), Expand_SGI_Sqrt(), LNOTARGET_Complex_Add_Res(), LNOTARGET_FP_Sqrt_Res(), and main().
| void fdiv | ( | float * | z, | |
| float * | a, | |||
| float * | b | |||
| ) |
| void fmul | ( | float * | z, | |
| float * | a, | |||
| float * | b | |||
| ) |
| void fperr | ( | int | sig | ) |
| void fsub | ( | float * | z, | |
| float * | a, | |||
| float * | b | |||
| ) |
| int getcray128 | ( | FILE * | fp, | |
| AR_CRAY_128 * | x | |||
| ) |
Definition at line 172 of file confidence.c.
References AR_CRAY_128::coeff0, AR_CRAY_128::coeff1, AR_CRAY_128::coeff2, AR_CRAY_128::coeff3, AR_CRAY_128::coeff4, AR_CRAY_128::coeff5, AR_CRAY_128::expo, fscanf(), AR_CRAY_128::sign, and AR_CRAY_128::zero.
Referenced by getcray128_1(), getcray128_1a(), getcray128_1b(), getcray128_1c(), getcray128_2(), getcray128_64(), and getcray128_i().
| int getcray128_1 | ( | FILE * | fp, | |
| AR_CRAY_128 * | x, | |||
| AR_CRAY_128 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 300 of file confidence.c.
References getcray128(), getint(), and getnewline().
Referenced by craytest128_1(), and craytest128_1t().
| int getcray128_1a | ( | FILE * | fp, | |
| AR_INT_64 * | x, | |||
| AR_CRAY_128 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 311 of file confidence.c.
References getcray128(), getint(), getint64(), and getnewline().
Referenced by convtest128a().
| int getcray128_1b | ( | FILE * | fp, | |
| AR_CRAY_128 * | x, | |||
| AR_INT_64 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 322 of file confidence.c.
References getcray128(), getint(), getint64(), and getnewline().
Referenced by convtest128b().
| int getcray128_1c | ( | FILE * | fp, | |
| AR_CRAY_128 * | x, | |||
| AR_IEEE_64 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 333 of file confidence.c.
References getcray128(), getieee64(), getint(), and getnewline().
Referenced by convtest128c().
| int getcray128_2 | ( | FILE * | fp, | |
| AR_CRAY_128 * | x, | |||
| AR_CRAY_128 * | y, | |||
| AR_CRAY_128 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 287 of file confidence.c.
References getcray128(), getint(), and getnewline().
Referenced by craytest128_2t().
| int getcray128_64 | ( | FILE * | fp, | |
| AR_CRAY_128 * | x, | |||
| AR_CRAY_64 * | y, | |||
| AR_CRAY_128 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 357 of file confidence.c.
References getcray128(), getcray64(), getint(), and getnewline().
Referenced by craytest128_64().
| int getcray128_i | ( | FILE * | fp, | |
| AR_CRAY_128 * | x, | |||
| AR_INT_64 * | y, | |||
| AR_CRAY_128 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 344 of file confidence.c.
References getcray128(), getint(), getint64(), and getnewline().
Referenced by craytest128_i().
| int getcray64 | ( | FILE * | fp, | |
| AR_CRAY_64 * | x | |||
| ) |
Definition at line 158 of file confidence.c.
References AR_CRAY_64::coeff0, AR_CRAY_64::coeff1, AR_CRAY_64::coeff2, AR_CRAY_64::expo, fscanf(), and AR_CRAY_64::sign.
Referenced by getcray128_64(), getcray64_1(), getcray64_2(), and getcray64_i().
| int getcray64_1 | ( | FILE * | fp, | |
| AR_CRAY_64 * | x, | |||
| AR_CRAY_64 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 250 of file confidence.c.
References getcray64(), getint(), and getnewline().
Referenced by craytest64_1(), and craytest64_1t().
| int getcray64_2 | ( | FILE * | fp, | |
| AR_CRAY_64 * | x, | |||
| AR_CRAY_64 * | y, | |||
| AR_CRAY_64 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 237 of file confidence.c.
References getcray64(), getint(), and getnewline().
Referenced by craytest64_2(), craytest64_2t(), and craytest64_c().
| int getcray64_i | ( | FILE * | fp, | |
| AR_CRAY_64 * | x, | |||
| AR_INT_64 * | y, | |||
| AR_CRAY_64 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 261 of file confidence.c.
References getcray64(), getint(), getint64(), and getnewline().
Referenced by craytest64_i().
Definition at line 274 of file confidence.c.
References getint(), getint64(), and getnewline().
Referenced by craytest64_i2().
| int getieee32 | ( | FILE * | fp, | |
| AR_IEEE_32 * | x | |||
| ) |
Definition at line 191 of file confidence.c.
References AR_IEEE_32::coeff0, AR_IEEE_32::coeff1, AR_IEEE_32::expo, fscanf(), and AR_IEEE_32::sign.
Referenced by getieee32_1(), getieee32_2(), and getieee32_2c().
| int getieee32_1 | ( | FILE * | fp, | |
| AR_IEEE_32 * | x, | |||
| AR_IEEE_32 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 465 of file confidence.c.
References getieee32(), getint(), and getnewline().
Referenced by ieeetest32_1t().
| int getieee32_2 | ( | FILE * | fp, | |
| AR_IEEE_32 * | x, | |||
| AR_IEEE_32 * | y, | |||
| AR_IEEE_32 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 410 of file confidence.c.
References getieee32(), getint(), and getnewline().
Referenced by ieeetest32_2cmp(), and ieeetest32_2t().
| int getieee32_2c | ( | FILE * | fp, | |
| AR_CPLX_IEEE_32 * | x, | |||
| AR_CPLX_IEEE_32 * | y, | |||
| AR_CPLX_IEEE_32 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 423 of file confidence.c.
References AR_IEEE_32::coeff0, AR_IEEE_32::coeff1, AR_IEEE_32::expo, f, getieee32(), getint(), getnewline(), AR_CPLX_IEEE_32::icoeff0, AR_CPLX_IEEE_32::icoeff1, AR_CPLX_IEEE_32::iexpo, AR_CPLX_IEEE_32::isign, AR_CPLX_IEEE_32::rcoeff0, AR_CPLX_IEEE_32::rcoeff1, AR_CPLX_IEEE_32::rexpo, AR_CPLX_IEEE_32::rsign, and AR_IEEE_32::sign.
Referenced by ieeetest32_2c().
| int getieee64 | ( | FILE * | fp, | |
| AR_IEEE_64 * | x | |||
| ) |
Definition at line 204 of file confidence.c.
References AR_IEEE_64::coeff0, AR_IEEE_64::coeff1, AR_IEEE_64::coeff2, AR_IEEE_64::coeff3, AR_IEEE_64::expo, fscanf(), and AR_IEEE_64::sign.
Referenced by getcray128_1c(), getieee64_1(), getieee64_2(), and getieee64_2c().
| int getieee64_1 | ( | FILE * | fp, | |
| AR_IEEE_64 * | x, | |||
| AR_IEEE_64 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 399 of file confidence.c.
References getieee64(), getint(), and getnewline().
Referenced by ieeetest64_1t().
| int getieee64_2 | ( | FILE * | fp, | |
| AR_IEEE_64 * | x, | |||
| AR_IEEE_64 * | y, | |||
| AR_IEEE_64 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 370 of file confidence.c.
References getieee64(), getint(), and getnewline().
Referenced by ieeetest64_2cmp(), and ieeetest64_2t().
| int getieee64_2c | ( | FILE * | fp, | |
| AR_CPLX_IEEE_64 * | x, | |||
| AR_CPLX_IEEE_64 * | y, | |||
| AR_CPLX_IEEE_64 * | res, | |||
| int * | ansflags | |||
| ) |
Definition at line 383 of file confidence.c.
References getieee64(), getint(), getnewline(), AR_CPLX_IEEE_64::imag, and AR_CPLX_IEEE_64::real.
Referenced by ieeetest64_2c().
| int getint | ( | FILE * | fp, | |
| int * | x | |||
| ) |
Definition at line 232 of file confidence.c.
References fscanf().
Referenced by getcray128_1(), getcray128_1a(), getcray128_1b(), getcray128_1c(), getcray128_2(), getcray128_64(), getcray128_i(), getcray64_1(), getcray64_2(), getcray64_i(), getcray64_i2(), getieee32_1(), getieee32_2(), getieee32_2c(), getieee64_1(), getieee64_2(), getieee64_2c(), and getint64_1().
Definition at line 219 of file confidence.c.
References fscanf(), AR_INT_64::part1, AR_INT_64::part2, AR_INT_64::part3, and AR_INT_64::part4.
Referenced by getcray128_1a(), getcray128_1b(), getcray128_i(), getcray64_i(), getcray64_i2(), and getint64_1().
Definition at line 476 of file confidence.c.
References getint(), getint64(), and getnewline().
Referenced by convtest64().
| int getnewline | ( | FILE * | fp | ) |
Definition at line 149 of file confidence.c.
References fgetc().
Referenced by getcray128_1(), getcray128_1a(), getcray128_1b(), getcray128_1c(), getcray128_2(), getcray128_64(), getcray128_i(), getcray64_1(), getcray64_2(), getcray64_i(), getcray64_i2(), getieee32_1(), getieee32_2(), getieee32_2c(), getieee64_1(), getieee64_2(), getieee64_2c(), and getint64_1().
| ieeeerr32_1 | ( | char * | lab, | |
| AR_IEEE_32 * | x, | |||
| AR_IEEE_32 * | ans, | |||
| AR_IEEE_32 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 955 of file confidence.c.
References prieee32(), and printf().
Referenced by ieeetest32_1t().
| ieeeerr32_2 | ( | char * | lab, | |
| AR_IEEE_32 * | x, | |||
| AR_IEEE_32 * | y, | |||
| AR_IEEE_32 * | ans, | |||
| AR_IEEE_32 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 878 of file confidence.c.
References prieee32(), and printf().
Referenced by ieeetest32_2cmp(), and ieeetest32_2t().
| ieeeerr32_2c | ( | char * | lab, | |
| AR_CPLX_IEEE_32 * | x, | |||
| AR_CPLX_IEEE_32 * | y, | |||
| AR_CPLX_IEEE_32 * | ans, | |||
| AR_CPLX_IEEE_32 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 896 of file confidence.c.
References AR_IEEE_32::coeff0, AR_IEEE_32::coeff1, AR_IEEE_32::expo, f, AR_CPLX_IEEE_32::icoeff0, AR_CPLX_IEEE_32::icoeff1, AR_CPLX_IEEE_32::iexpo, AR_CPLX_IEEE_32::isign, prieee32(), printf(), AR_CPLX_IEEE_32::rcoeff0, AR_CPLX_IEEE_32::rcoeff1, AR_CPLX_IEEE_32::rexpo, AR_CPLX_IEEE_32::rsign, and AR_IEEE_32::sign.
Referenced by ieeetest32_2c().
| ieeeerr64_1 | ( | char * | lab, | |
| AR_IEEE_64 * | x, | |||
| AR_IEEE_64 * | ans, | |||
| AR_IEEE_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 863 of file confidence.c.
References prieee64(), and printf().
Referenced by ieeetest64_1t().
| ieeeerr64_2 | ( | char * | lab, | |
| AR_IEEE_64 * | x, | |||
| AR_IEEE_64 * | y, | |||
| AR_IEEE_64 * | ans, | |||
| AR_IEEE_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 823 of file confidence.c.
References prieee64(), and printf().
Referenced by ieeetest64_2cmp(), and ieeetest64_2t().
| ieeeerr64_2c | ( | char * | lab, | |
| AR_CPLX_IEEE_64 * | x, | |||
| AR_CPLX_IEEE_64 * | y, | |||
| AR_CPLX_IEEE_64 * | ans, | |||
| AR_CPLX_IEEE_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 841 of file confidence.c.
References AR_CPLX_IEEE_64::imag, prieee64(), printf(), and AR_CPLX_IEEE_64::real.
Referenced by ieeetest64_2c().
| int ieeeok32 | ( | AR_IEEE_32 * | ans, | |
| AR_IEEE_32 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 561 of file confidence.c.
References AR_ERR, AR_IEEE_32::coeff0, AR_IEEE_32::coeff1, AR_IEEE_32::expo, FLAGMASK, and AR_IEEE_32::sign.
Referenced by ieeetest32_1t(), ieeetest32_2cmp(), and ieeetest32_2t().
| int ieeeok64 | ( | AR_IEEE_64 * | ans, | |
| AR_IEEE_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 543 of file confidence.c.
References AR_ERR, AR_IEEE_64::coeff0, AR_IEEE_64::coeff1, AR_IEEE_64::coeff2, AR_IEEE_64::coeff3, AR_IEEE_64::expo, FLAGMASK, and AR_IEEE_64::sign.
Referenced by convtest128c(), ieeetest32_2c(), ieeetest64_1t(), ieeetest64_2c(), ieeetest64_2cmp(), and ieeetest64_2t().
| ieeerand128_2 | ( | char * | lab, | |
| int(*)() | simop, | |||
| int | rounding, | |||
| void(*)() | realop, | |||
| int * | tests, | |||
| int * | lowp, | |||
| int * | highp | |||
| ) |
| ieeerand32_2 | ( | char * | lab, | |
| int(*)() | simop, | |||
| int | rounding, | |||
| void(*)() | realop, | |||
| int * | tests, | |||
| int * | lowp, | |||
| int * | highp | |||
| ) |
| ieeerand64_2 | ( | char * | lab, | |
| int(*)() | simop, | |||
| int | rounding, | |||
| void(*)() | realop, | |||
| int * | tests, | |||
| int * | lowp, | |||
| int * | highp | |||
| ) |
| ieeetest32_1t | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1579 of file confidence.c.
References fclose(), fopen, fp, getieee32_1(), i, ieeeerr32_1(), ieeeok32(), op, printf(), and x.
| ieeetest32_2c | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1478 of file confidence.c.
References fclose(), fopen, fp, getieee32_2c(), i, ieeeerr32_2c(), ieeeok64(), op, printf(), x, and is::y.
Referenced by main().
| ieeetest32_2cmp | ( | char * | fn, | |
| char * | lab, | |||
| AR_COMPARE_TYPE(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1507 of file confidence.c.
References AR_Compare_EQ, AR_Compare_GT, AR_Compare_LT, AR_Compare_Unord, AR_STAT_NEGATIVE, AR_STAT_OK, AR_STAT_UNDEFINED, AR_STAT_ZERO, fclose(), fopen, fp, getieee32_2(), i, ieeeerr32_2(), ieeeok32(), op, printf(), x, and is::y.
Referenced by main().
| ieeetest32_2t | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1550 of file confidence.c.
References fclose(), fopen, fp, getieee32_2(), i, ieeeerr32_2(), ieeeok32(), op, printf(), x, and is::y.
Referenced by main().
| ieeetest64_1t | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1449 of file confidence.c.
References fclose(), fopen, fp, getieee64_1(), i, ieeeerr64_1(), ieeeok64(), op, printf(), and x.
Referenced by main().
| ieeetest64_2c | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1347 of file confidence.c.
References fclose(), fopen, fp, getieee64_2c(), i, ieeeerr64_2c(), ieeeok64(), AR_CPLX_IEEE_64::imag, op, printf(), AR_CPLX_IEEE_64::real, x, and is::y.
Referenced by main().
| ieeetest64_2cmp | ( | char * | fn, | |
| char * | lab, | |||
| AR_COMPARE_TYPE(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1377 of file confidence.c.
References AR_Compare_EQ, AR_Compare_GT, AR_Compare_LT, AR_Compare_Unord, AR_STAT_NEGATIVE, AR_STAT_OK, AR_STAT_UNDEFINED, AR_STAT_ZERO, fclose(), fopen, fp, getieee64_2(), i, ieeeerr64_2(), ieeeok64(), op, printf(), x, and is::y.
Referenced by main().
| ieeetest64_2t | ( | char * | fn, | |
| char * | lab, | |||
| int(*)() | op, | |||
| AR_TYPE | type, | |||
| int * | tests, | |||
| int * | failures | |||
| ) |
Definition at line 1420 of file confidence.c.
References fclose(), fopen, fp, getieee64_2(), i, ieeeerr64_2(), ieeeok64(), op, printf(), x, and is::y.
Referenced by main().
| interr64_1 | ( | char * | lab, | |
| AR_INT_64 * | x, | |||
| AR_INT_64 * | ans, | |||
| AR_INT_64 * | res, | |||
| int | ansflags, | |||
| int | resflags | |||
| ) |
Definition at line 970 of file confidence.c.
References print64(), and printf().
Referenced by convtest64().
Definition at line 577 of file confidence.c.
References AR_ERR, FLAGMASK, AR_INT_64::part1, AR_INT_64::part2, AR_INT_64::part3, and AR_INT_64::part4.
Referenced by convtest128b(), and convtest64().
| int main | ( | int argc | , | |
| char ** | argv | |||
| ) |
Definition at line 2389 of file confidence.c.
| int matherr | ( | ) |
Definition at line 130 of file confidence.c.
Referenced by __acos(), __acosf(), __asin(), __asinf(), __atan(), __atan2(), __atan2f(), __atanf(), __cos(), __cosf(), __cosh(), __coshf(), __drem(), __erf(), __erfc(), __exp(), __expf(), __expm1(), __expm1f(), __fmod(), __fmodf(), __hypot(), __hypotf(), __j0(), __j1(), __jn(), __lgamma(), __libm_rcis(), __log(), __log10(), __log10f(), __log1p(), __log1pf(), __logf(), __pow(), __powf(), __sin(), __sincosf(), __sinf(), __sinh(), __sinhf(), __tan(), __tanf(), __tanh(), __tanhf(), __y0(), __y1(), __yn(), asym(), and neg().
| misc_tests | ( | int * | failures | ) |
Definition at line 1992 of file confidence.c.
References AR_Int_32_S, AR_Int_64_S, AR_selected_real_kind(), AR_STAT_INVALID_TYPE, fprintf(), misc_errors, printf(), result, t_index(), t_scan(), and t_verify().
Referenced by main().
| prcray128 | ( | AR_CRAY_128 * | x | ) |
Definition at line 603 of file confidence.c.
References AR_CRAY_128::coeff0, AR_CRAY_128::coeff1, AR_CRAY_128::coeff2, AR_CRAY_128::coeff3, AR_CRAY_128::coeff4, AR_CRAY_128::coeff5, AR_CRAY_128::expo, MASKR, printf(), and AR_CRAY_128::sign.
Referenced by crayerr128_1(), crayerr128_1a(), crayerr128_1b(), crayerr128_1c(), crayerr128_2(), crayerr128_64(), and crayerr128_i().
| prcray64 | ( | AR_CRAY_64 * | x | ) |
Definition at line 595 of file confidence.c.
References AR_CRAY_64::coeff0, AR_CRAY_64::coeff1, AR_CRAY_64::coeff2, AR_CRAY_64::expo, MASKR, printf(), and AR_CRAY_64::sign.
Referenced by crayerr128_64(), crayerr64_1(), crayerr64_2(), and crayerr64_i().
| prieee32 | ( | AR_IEEE_32 * | x | ) |
Definition at line 632 of file confidence.c.
References AR_IEEE_32::coeff0, AR_IEEE_32::coeff1, AR_IEEE_32::expo, MASKR, printf(), and AR_IEEE_32::sign.
Referenced by dotest32_1s(), dotest32_2(), dotest32_2c(), dotest64_1s(), ieeeerr32_1(), ieeeerr32_2(), and ieeeerr32_2c().
| prieee64 | ( | AR_IEEE_64 * | x | ) |
Definition at line 624 of file confidence.c.
References AR_IEEE_64::coeff0, AR_IEEE_64::coeff1, AR_IEEE_64::coeff2, AR_IEEE_64::coeff3, AR_IEEE_64::expo, MASKR, printf(), and AR_IEEE_64::sign.
Referenced by crayerr128_1c(), dotest32_1s(), dotest64_1(), dotest64_1s(), dotest64_2(), dotest64_2c(), ieeeerr64_1(), ieeeerr64_2(), and ieeeerr64_2c().
| print64 | ( | AR_INT_64 * | x | ) |
Definition at line 615 of file confidence.c.
References MASKR, AR_INT_64::part1, AR_INT_64::part2, AR_INT_64::part3, AR_INT_64::part4, and printf().
Referenced by crayerr128_1a(), crayerr128_1b(), crayerr128_i(), crayerr64_i(), crayerr64_i2(), and interr64_1().
| t_index | ( | ) |
Definition at line 2025 of file confidence.c.
References AR_const_false, AR_const_true, ar_data::ar_i64, AR_index(), AR_Logical, AR_STAT_ZERO, NULL, AR_INT_64::part4, printf(), result, and validate().
Referenced by get_DECL_ST(), misc_tests(), and set_DECL_ST().
| t_scan | ( | ) |
Definition at line 2142 of file confidence.c.
References AR_const_false, AR_const_true, ar_data::ar_i64, AR_Logical, AR_scan(), AR_STAT_ZERO, NULL, AR_INT_64::part4, printf(), result, and validate().
Referenced by misc_tests().
| t_verify | ( | ) |
Definition at line 2259 of file confidence.c.
References AR_const_false, AR_const_true, ar_data::ar_i64, AR_Logical, AR_STAT_ZERO, AR_verify(), NULL, AR_INT_64::part4, printf(), result, and validate().
Referenced by misc_tests().
| validate | ( | int | status, | |
| int | xstatus, | |||
| int | result, | |||
| int | xresult | |||
| ) |
Definition at line 2376 of file confidence.c.
References fprintf(), and misc_errors.
Referenced by t_index(), t_scan(), and t_verify().
volatile int fp_error = 0 [static] |
Definition at line 106 of file confidence.c.
Referenced by dotest128_1(), dotest128_2(), dotest128_i(), dotest128_r(), dotest32_1s(), dotest32_2(), dotest32_2c(), dotest64_1(), dotest64_1s(), dotest64_2(), dotest64_2c(), dotest64_c(), dotest64_i(), dotest64_i2(), fcmp32(), fcmp64(), fperr(), setstat32(), setstat64(), and trapmathlibabort().
Definition at line 1989 of file confidence.c.
Referenced by ar_power(), ar_transfer(), craytest128_i(), and craytest64_i().
misc_errors = 0 [static] |
char rcsid[] = "$Id: confidence.c,v 1.1.1.1 2005/10/21 19:00:00 marcel Exp $" [static] |
Definition at line 2635 of file confidence.c.
Definition at line 2634 of file confidence.c.
1.5.6