[racket-dev] exact trig functions

From: Stephen Bloch (sbloch at adelphi.edu)
Date: Thu Jul 14 10:35:54 EDT 2011

Would there be any point in providing (in student languages, and in #lang racket/base) trig functions that operate in degrees rather than radians?  It's a trivial conversion, of course... unless you want to respect exactness, e.g. (sindeg 30) should be EXACTLY 1/2, and (atandeg -5 5) should be EXACTLY -45, in which case it's a first-term-student exercise, but not quite trivial.

Stephen Bloch
sbloch at adelphi.edu

Posted on the dev mailing list.