Lines Matching refs:flt
50 float flt; member
139 void print_single(char *msg, float *flt) in print_single() argument
142 F.flt = *flt; in print_single()
150 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); in print_single()
161 E.flt = *expected; in check_dbl_to_flt_round()
162 R.flt = (float)dbl; in check_dbl_to_flt_round()
174 round_mode_name[mode], result, R.flt, dbl); in check_dbl_to_flt_round()
176 print_single("\n\texpected", &E.flt); in check_dbl_to_flt_round()
177 print_single("\n\trounded ", &R.flt); in check_dbl_to_flt_round()
241 denorm_small = F.flt; /* == 2^(-149) */ in init()
243 print_single("float small", &F.flt); in init()
257 norm_small = F.flt; in init()
270 E.flt = *expected; in check_int_to_flt_round()
274 R.flt = (iter == 0 ? (float)I : (float)L); in check_int_to_flt_round()
286 round_mode_name[mode], result, int_name, I, R.flt); in check_int_to_flt_round()
288 print_single("\n\texpected: %.1f ", &E.flt); in check_int_to_flt_round()
289 print_single("\n\trounded ", &R.flt); in check_int_to_flt_round()
571 B.flt = 0.0; in check_single_guarded_arithmetic_op()
575 Z.flt = 1.0; in check_single_guarded_arithmetic_op()
613 fB = s*B.flt; in check_single_guarded_arithmetic_op()
625 A.flt = 1.125; in check_single_guarded_arithmetic_op()
628 fA = s*A.flt; in check_single_guarded_arithmetic_op()
631 fB = s*B.flt; in check_single_guarded_arithmetic_op()
642 A.flt = 1.0; in check_single_guarded_arithmetic_op()
644 fA = s*A.flt; in check_single_guarded_arithmetic_op()
648 Z.flt = 1.0; in check_single_guarded_arithmetic_op()
658 A.flt = denorm_small; in check_single_guarded_arithmetic_op()
660 fA = A.flt; in check_single_guarded_arithmetic_op()
662 Z.flt = 0.0; in check_single_guarded_arithmetic_op()
668 Z.flt = 1.0; in check_single_guarded_arithmetic_op()
677 A.flt = 1.0; in check_single_guarded_arithmetic_op()
679 fA = s*A.flt; in check_single_guarded_arithmetic_op()
683 A.flt = 0.5; in check_single_guarded_arithmetic_op()
685 fC = (op == FMADDS || op == FNMADDS ? s : -s)*A.flt; in check_single_guarded_arithmetic_op()
690 Z.flt = 1.0; in check_single_guarded_arithmetic_op()
704 lo = z_sign*Z.flt; in check_single_guarded_arithmetic_op()
706 hi = z_sign*Z.flt; in check_single_guarded_arithmetic_op()