MyTimer.reset();
angle_cos_speed_test<fastangle>();
fastangle_cos_time=MyTimer();
printf("fastangle: Cosine test: %f seconds\n",fastangle_cos_time);
printf("fastangle is %.02f%% faster\n",(angle_cos_time/fastangle_cos_time)*100.0-100.0);
MyTimer.reset();
angle_cos_speed_test<fastangle>();
fastangle_cos_time=MyTimer();
printf("fastangle: Cosine test: %f seconds\n",fastangle_cos_time);
printf("fastangle is %.02f%% faster\n",(angle_cos_time/fastangle_cos_time)*100.0-100.0);