[LISPWORKS][Common Lisp HyperSpec (TM)] [Previous][Up][Next]

Function SIN, COS, TAN


sin radians => number

cos radians => number

tan radians => number

Arguments and Values:

radians---a number given in radians.

number---a number.


sin, cos, and tan return the sine, cosine, and tangent, respectively, of radians.


 (sin 0) =>  0.0
 (cos 0.7853982) =>  0.707107
 (tan #c(0 1)) =>  #C(0.0 0.761594)

Side Effects: None.

Affected By: None.

Exceptional Situations:

Should signal an error of type type-error if radians is not a number. Might signal arithmetic-error.

See Also:

asin, acos, atan, Section (Rule of Float Substitutability)

Notes: None.

[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996-2005, LispWorks Ltd. All rights reserved.