D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Math
/
Filename :
sin-c.ri
back
Copy
U:RDoc::AnyMethod[iI"sin:ETI"Math::sin;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Returns the ;TI"B{sine}[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"Csin(-PI) # => -1.2246063538223773e-16 # -0.0000000000000001 ;TI"sin(-PI/2) # => -1.0 ;TI"sin(0.0) # => 0.0 ;TI"sin(PI/2) # => 1.0 ;TI"Asin(PI) # => 1.2246063538223773e-16 # 0.0000000000000001;T:@format0: @fileI"math.c;T:0@omit_headings_from_table_of_contents_below0I"Math.sin(x) -> float ;T0[ I" (p1);T@'FI" Math;TcRDoc::NormalModule00