It’s working well for Sine but not Cossine:
print ("Sin "+Mathf.Sin(89 * Mathf.PI / 180));
print ("Cossine"+Mathf.Cos(89 * Mathf.PI / 180));
print ("Sin "+Mathf.Sin(90 * Mathf.PI / 180));
print ("Cossine"+Mathf.Cos(90 * Mathf.PI / 180));
print ("Sin "+Mathf.Sin(91 * Mathf.PI / 180));
print ("Cossine"+Mathf.Cos(91 * Mathf.PI / 180));
Sin 0.9998477 Cossine 0.01745238 Sin 1 Cossine -4.371139E-08 Sin 0.9998477 Cossine -0.01745247
Thanks.