コード例 #1
0
ファイル: test-cexp.c プロジェクト: coyizumi/cs111
int
main(int argc, char *argv[])
{

	printf("1..7\n");

	test_zero();
	printf("ok 1 - cexp zero\n");

	test_nan();
	printf("ok 2 - cexp nan\n");

	test_inf();
	printf("ok 3 - cexp inf\n");

#if defined(__i386__)
	printf("not ok 4 - cexp reals # TODO: PR # 191676 fails assertion on i386\n");
#else
	test_reals();
	printf("ok 4 - cexp reals\n");
#endif

	test_imaginaries();
	printf("ok 5 - cexp imaginaries\n");

	test_small();
	printf("ok 6 - cexp small\n");

	test_large();
	printf("ok 7 - cexp large\n");

	return (0);
}
コード例 #2
0
ファイル: test-ctrig.c プロジェクト: kusumi/DragonFlyBSD
int
main(int argc, char *argv[])
{

	printf("1..6\n");

	test_zero();
	printf("ok 1 - ctrig zero\n");

	test_nan();
	printf("ok 2 - ctrig nan\n");

	test_inf();
	printf("ok 3 - ctrig inf\n");

	test_axes();
	printf("ok 4 - ctrig axes\n");

	test_small();
	printf("ok 5 - ctrig small\n");

	test_large();
	printf("ok 6 - ctrig large\n");

	return (0);
}
コード例 #3
0
ファイル: test-cexp.c プロジェクト: kusumi/DragonFlyBSD
int
main(int argc, char *argv[])
{

	printf("1..7\n");

	test_zero();
	printf("ok 1 - cexp zero\n");

	test_nan();
	printf("ok 2 - cexp nan\n");

	test_inf();
	printf("ok 3 - cexp inf\n");

	test_reals();
	printf("ok 4 - cexp reals\n");

	test_imaginaries();
	printf("ok 5 - cexp imaginaries\n");

	test_small();
	printf("ok 6 - cexp small\n");

	test_large();
	printf("ok 7 - cexp large\n");

	return (0);
}