double direction, length, result1, result2;
out << "direction?\n";
cin >> direction;
result1 = cos(direction);
result2 = sin(direction);
cout << result1 << "\n";
cout << result2 << "\n";This code is fucked up, because when I enter 45, it should return the same value (.70786 or something similar). Instead, I get:
0.525322 (cos)
0.850904 (sin)
It's almost like the C++ library is fucked up or something. I know I haven't forgotten basic geometry (windows calculator bears this out) and I don't think I'm going insane, so WHAT AM I DOING WRONG?
FACE IT, AMERICA'S SCHOOL SYSTEMS ARE SUFFERING BECAUSE THE GOVERNMENT KNOWS YOU DON'T HAVE TO BE SMART TO SHOOT "SAND NIGGERS", AND THEY'LL WASTE MONEY IF THEY TRY TO TEACH YOU, CAUSE YOU'LL JUST GET SPLATTERED OR GET UPPITY DUE TO YOUR INTELLIGENCE ANYWAY.
Name:
Anonymous2006-09-08 2:25
So like. People are actually bragging about knowing radians?
My son, 9 years old, knows the difference between a degree and a radian. And he just tried to use a fork to open a can of corn. This states his level of intelligence.
Name:
Anonymous2006-09-08 4:23
>>43 he just tried to use a fork to open a can of corn
An awesome idea! Gotta try that when I get home, thanks for the tip! I never knew how to open those damned cans.
Name:
Anonymous2006-09-08 8:20
>>43
No, we're mocking the OP for not knowing about radians, because they're such a basic and essential concept.
>>43
You obviously come from a math family. I didn't.
Name:
Anonymous2006-09-09 1:09
>>43
You obviously come from a math family. I didn't.
Name:
Anonymous2006-09-09 1:12
People always assume that everyone is exactly like them, and make all their judgements based on themselves. Programmers, Mathmaticians, people interested in extremely analytical stuff tend to do that. I don't know why.
Name:
Anonymous2006-09-09 1:27
>>49
You're still fucking stupid, and don't belong in programming. STFU.
>>1-51
You obviously come from a negro family. I didn't.
Name:
Anonymous2006-09-09 13:46
Yes. I'm a C programmer. So? I don't see a problem. I embraced my UNIX soul long ago and I am happy together with my compiler (who is a cute layered front/backend design!). We have a fucking lot of functions in and outside of the kernel and I am pretty compact and resource conserving.
But thanks anyway asshole. Go and beat off to your stupid garbage collection shit while I #INCLUDE <stdio.h> with my preprocessor.
Name:
Anonymous2006-09-09 14:44
Yes. I'm an assembly programmer. So? I don't see a problem. I embraced my mnemonics long ago and I am happy together with my assembler (which allows macros - who needs functions?). We have a fucking lot of documentations of ABIs in and outside of the kernel and I can do anything I want as long as I build it from the ground up.
But thanks anyway asshole. Go and beat off to your stupid libc while I constantly reinvent the wheel.