Why does sin(90) in C++ return 1?
1
Name:
Anonymous
2006-09-09 12:04
90 is not divisible by Pi :confused:
2
Name:
Anonymous
2006-09-09 12:30
sin(90) returns 0.893997 for me. Are you doing something retarded like storing the value in an int and then outputting it, or are you just using a different math library that takes degrees instead of radians?
3
Name:
Anonymous
2006-09-09 13:44
Probably using ints...
5
Name:
Anonymous
2006-09-10 4:03
(sage)
>>2
lol, this is why niggers shouldn't use computers
6
Name:
Anonymous
2006-09-15 17:52
lol what. sin(90 degrees) is 1
lol lol lol lol lol lol lol lol
http://www.google.com/search?hl=en&lr=&safe=off&q=sin%2890+degrees%29&btnG=Search
>>2
yeah that's because without specifying degrees it thinks radians--90 radians
7
Name:
Anonymous
2006-09-17 12:25
>>6
You are an idiot, he was talking about C++ where the standard math library uses radians.
8
Name:
Anonymous
2007-06-21 11:29
ID:jxzOzvEy
how do I learned radians?
9
Name:
Anonymous
2007-06-21 14:25
ID:SU7M9n/L
This thread is full of funny niggers
10
Name:
Anonymous
2007-06-22 6:31
ID:MzM1r7vF
just kill yourself and get it over with
11
Name:
Anonymous
2009-01-14 12:54
LISP
12
Name:
Anonymous
2009-03-06 6:15
library converts excel to a delimited text?
15
Name:
Anonymous
2011-01-17 11:16
⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙
16
Name:
Anonymous
2011-02-04 19:56