Saturday, September 21, 2019

c# - Why am I getting wrong result Math.Cos?

Why when I tried to take a cos of 90 degrees I get some weird value other than zero? Math.Cos(90 * Math.PI / 180)



PS: I'm aware that Math.Cos function take radians instead of an angle.

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...