I am making a program (a zernike equation function) that needs to be accurate. Most things are accurate enough, but when I use sin or cos from the math.h file, it only returns 6 decimal places. I need more than that. How can I fix this?
cout << sin(10*(3.141592653589793/6)) << endl;
returns:
-0.866025
-acc