Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Why does sin(90) in C++ return 1?

Name: Anonymous 2006-09-09 12:04

90 is not divisible by Pi :confused:

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?

Name: Anonymous 2006-09-09 13:44

Probably using ints...

Name: dork lundgren 2006-09-09 14:29

abraham likes cocks

Name: Anonymous 2006-09-10 4:03 (sage)

>>2
lol, this is why niggers shouldn't use computers

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

Name: Anonymous 2006-09-17 12:25

>>6
You are an idiot, he was talking about C++ where the standard math library uses radians.

Name: Anonymous 2007-06-21 11:29 ID:jxzOzvEy

how do I learned radians?

Name: Anonymous 2007-06-21 14:25 ID:SU7M9n/L

This thread is full of funny niggers

Name: Anonymous 2007-06-22 6:31 ID:MzM1r7vF

just kill yourself and get it over with

Name: Anonymous 2009-01-14 12:54

LISP

Name: Anonymous 2009-03-06 6:15

library converts excel to   a delimited text?

Name: Anonymous 2011-01-17 11:16

⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙⁘⁙

Name: Anonymous 2011-02-04 19:56

Name: Sgt.Kabu�kiman୯粲 2012-05-28 20:00

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List