Lines Matching refs:x

61 double sqrt(double x);
69 float sqrtf(float x);
95 void print_float(float x) in print_float() argument
98 ux.flt = x; in print_float()
100 x, ux.bits.sign, ux.bits.exp, (unsigned long)ux.bits.frac); in print_float()
103 void print_double(double x) in print_double() argument
106 ux.flt = x; in print_double()
109 x, ux.bits.sign, ux.bits.exp, in print_double()
113 x, ux.bits.sign, ux.bits.exp, in print_double()
165 float x; in gen_special_float() local
188 FP_PACK_S(x, X); in gen_special_float()
189 return x; in gen_special_float()
196 double x; in gen_special_double() local
233 FP_PACK_D(x, X); in gen_special_double()
234 return x; in gen_special_double()
277 float x, float y) in test_float_arith() argument
280 rr = (*rf)(x, y); in test_float_arith()
281 tr = (*tf)(x, y); in test_float_arith()
284 fputs("error:\n\tx = ", stdout); print_float(x); in test_float_arith()
294 double x, double y) in test_double_arith() argument
307 rr = (*rf)(x, y); in test_double_arith()
311 tr = (*tf)(x, y); in test_double_arith()
314 fputs("error:\n\tx = ", stdout); print_double(x); in test_double_arith()
322 void test_float_double_conv(float x) in test_float_double_conv() argument
325 rr = r_extendsfdf2(x); in test_float_double_conv()
326 tr = __extendsfdf2(x); in test_float_double_conv()
329 fputs("error:\n\tx = ", stdout); print_float(x); in test_float_double_conv()
336 void test_double_float_conv(double x) in test_double_float_conv() argument
339 rr = r_truncdfsf2(x); in test_double_float_conv()
340 tr = __truncdfsf2(x); in test_double_float_conv()
343 fputs("error:\n\tx = ", stdout); print_double(x); in test_double_float_conv()
350 void test_int_float_conv(int x) in test_int_float_conv() argument
353 rr = r_floatsisf(x); in test_int_float_conv()
354 tr = __floatsisf(x); in test_int_float_conv()
357 printf("error\n\tx = %d", x); in test_int_float_conv()
364 void test_int_double_conv(int x) in test_int_double_conv() argument
367 rr = r_floatsidf(x); in test_int_double_conv()
368 tr = __floatsidf(x); in test_int_double_conv()
371 printf("error\n\tx = %d", x); in test_int_double_conv()
378 void test_float_int_conv(float x) in test_float_int_conv() argument
381 rr = r_fixsfsi(x); in test_float_int_conv()
382 tr = __fixsfsi(x); in test_float_int_conv()
385 fputs("error:\n\tx = ", stdout); print_float(x); in test_float_int_conv()
390 void test_double_int_conv(double x) in test_double_int_conv() argument
393 rr = r_fixsfsi(x); in test_double_int_conv()
394 tr = __fixsfsi(x); in test_double_int_conv()
397 fputs("error:\n\tx = ", stdout); print_double(x); in test_double_int_conv()
402 int eq0(int x) { return x == 0; } in eq0() argument
403 int ne0(int x) { return x != 0; } in ne0() argument
404 int le0(int x) { return x <= 0; } in le0() argument
405 int lt0(int x) { return x < 0; } in lt0() argument
406 int ge0(int x) { return x >= 0; } in ge0() argument
407 int gt0(int x) { return x > 0; } in gt0() argument
412 float x, float y) in test_float_cmp() argument
415 rr = (*rf)(x, y); in test_float_cmp()
416 tr = (*tf)(x, y); in test_float_cmp()
419 fputs("error:\n\tx = ", stdout); print_float(x); in test_float_cmp()
428 double x, double y) in test_double_cmp() argument
431 rr = (*rf)(x, y); in test_double_cmp()
432 tr = (*tf)(x, y); in test_double_cmp()
435 fputs("error:\n\tx = ", stdout); print_double(x); in test_double_cmp()