⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Kernel
/
Edit File: Complex-i.ri
U:RDoc::AnyMethod[iI"Complex:ETI"Kernel#Complex;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Returns x+i*y;;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"!Complex(1, 2) #=> (1+2i) ;TI"!Complex('1+2i') #=> (1+2i) ;TI"$Complex(nil) #=> TypeError ;TI"$Complex(1, nil) #=> TypeError ;TI" ;TI"0Complex(1, nil, exception: false) #=> nil ;TI"0Complex('1+2', exception: false) #=> nil ;T:@format0o; ; [I"Syntax of string form:;T@o;; [I";string form = extra spaces , complex , extra spaces ; ;TI"5complex = real part | [ sign ] , imaginary part ;TI"1 | real part , sign , imaginary part ;TI"+ | rational , "@" , rational ; ;TI"real part = rational ; ;TI"Limaginary part = imaginary unit | unsigned rational , imaginary unit ; ;TI"/rational = [ sign ] , unsigned rational ; ;TI"Eunsigned rational = numerator | numerator , "/" , denominator ; ;TI"Snumerator = integer part | fractional part | integer part , fractional part ; ;TI"denominator = digits ; ;TI"integer part = digits ; ;TI"Nfractional part = "." , digits , [ ( "e" | "E" ) , [ sign ] , digits ] ; ;TI".imaginary unit = "i" | "I" | "j" | "J" ; ;TI"sign = "-" | "+" ; ;TI"/digits = digit , { digit | "_" , digit }; ;TI"Idigit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ; ;TI"extra spaces = ? \s* ? ; ;T; 0o; ; [I"See String#to_c.;T: @fileI"complex.c;T:0@omit_headings_from_table_of_contents_below0I":Complex(x[, y], exception: true) -> numeric or nil ;T0[ I"(p1, p2 = v2, p3 = {});T@1FI"Kernel;TcRDoc::NormalModule00
Simpan