Feedback on: Math functions in JavaScript, Thursday April 17, 2008 at 07:03:04
You are here: irt.org | About | Feedback | 5249 [ previous next ]
Feedback on:
Math functions in JavaScript
Sent by
Fenevad on Thursday April 17, 2008 at 07:03:04
Worth:
Worth reading
Length:
Just right
Technical:
Just right
Comments:
This is primarily feedback on Soner's comments. Actually, the trig functions *are* returning the correct values. They simply are not expecting degrees as input, but radians (2π radians = 360°). One rad thus equals approx. 57.2958 degrees (hence your division ratio). For most serious mathematics functions, you expect to use radians, not degrees. So it’s not an error, but you were missing the important knowledge of what was expected as input.
Other feedback on 'Math functions in JavaScript' - show all
- Math functions in JavaScript - noname October 27, 2008 at 08:42:05
- Math functions in JavaScript - Fenevad April 17, 2008 at 07:03:04
- Math functions in JavaScript - Soner May 26, 2007 at 05:08:49
- Math functions in JavaScript - Patrick Pietersz June 18, 2002 at 06:15:25
- Math functions in JavaScript - anonymous June 12, 2002 at 07:44:06
- Math functions in JavaScript - billemery March 27, 2001 at 12:00:26
- Math functions in JavaScript - Lisa November 24, 2000 at 17:40:53
- Math functions in JavaScript - Don Gentry November 07, 2000 at 22:51:52
- Math functions in JavaScript - Raphael Augustin August 26, 2000 at 20:06:19
- Math functions in JavaScript - Cyril February 15, 2000 at 07:43:20
©2018 Martin Webb