D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Math
/
Filename :
cos-c.ri
back
Copy
U:RDoc::AnyMethod[iI"cos:ETI"Math::cos;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Returns the ;TI"D{cosine}[https://en.wikipedia.org/wiki/Sine_and_cosine] of +x+ ;TI"`in {radians}[https://en.wikipedia.org/wiki/Trigonometric_functions#Radians_versus_degrees].;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I",Domain: <tt>(-INFINITY, INFINITY)</tt>.;To;;0; [o; ; [I"!Range: <tt>[-1.0, 1.0]</tt>.;T@o; ; [I"Examples:;T@o:RDoc::Markup::Verbatim; [ I"cos(-PI) # => -1.0 ;TI"@cos(-PI/2) # => 6.123031769111886e-17 # 0.0000000000000001 ;TI"cos(0.0) # => 1.0 ;TI"@cos(PI/2) # => 6.123031769111886e-17 # 0.0000000000000001 ;TI"cos(PI) # => -1.0;T:@format0: @fileI"math.c;T:0@omit_headings_from_table_of_contents_below0I"Math.cos(x) -> float ;T0[ I" (p1);T@'FI" Math;TcRDoc::NormalModule00