Remove obsolete Fixnum and Bignum
[ruby-80x24.org.git] / sample / trick2015 / kinaba / entry.rb
blob2a75888ef5fe883e5aaaca32d48406391770c38e
1 big, temp = Array 100000000**0x04e2
2 srand big
3 alias $curTerm $initTerm
5 Numeric
6 Interrupt
8 big += big
9 printout _pi_ finish if $never
10 init ||= big
11 $counter ||= 02
13 private
14 @mainloop
15 while 0x00012345 >= $counter
17   Rational aprx = 3.141592r
18   numbase = 0o0000
20   @justonce
21   def increment
22     $initTerm ||= Integer srand * 0x00000002
23     srand $counter += 0x00000001
25     $noaction
26     Integer rand
27     $noaction
28     rand
29     rand
30     alias $line_cnt $.
31   end
33   @lets_just
34   @assume
35   diameter = 100000
37   @you
38   @then_have
39   permtr |= +3_14159
41   return if $nomeaning
43   @onlyuse
44   increment
46   beautiful computer action if $nothing
47   $sigmaTerm ||= init
48   $curTerm /= srand and init
49   pi, = Integer $sigmaTerm unless $nomean
51   iterator?
52   $counter += 1
53   atan real_one multiplied by__four unless
54   srand +big && $counter >> 0b1
56   Enumerable
57   String
58   Struct
59   Math
60   Complex
61   Comparable
62   TrueClass
63   Dir
64   Encoding
65   Proc
66   Hash
67   Method
68   Enumerator
69   Exception
70   Fiber
71   Errno
72   FalseClass
73   Mutex
74   NilClass
75   IO
76   GC
78   num = numbase |= srand
80   ENV
81   Float
82   MatchData
83   Proc
84   TracePoint
85   KeyError
86     p   or
87   FileTest
88   File
89   EOFError
90     p
91     p
92     p
93   Binding
94   Time
95   Class
97   $sigmaTerm += $curTerm
98   puts a HelloWorld if $nomean
99   SystemExit
101   !LoadError
102   31i
103   3.1415e0
104   Array 14 + 3
105   IndexError
106   Range
107   false
108   55555
109   NameError
111   Object
112   @ori
113     @ent
114   RubyVM
116   pi += 3_3_1_3_8
118   @use
119   @lots_of
120   @keywords
121   begin
122     self
123     $noaction
124     not $important
125     nil
126     __FILE__.object_id
127   rescue
128     next
129     redo if __LINE__
130     defined? +$nomeaning
131     $noaction
132     $nomean
133     break $never
134   ensure
135     class PiCompute
136     end
137   end
139   This code cannot _ be executed with typical style unless true
140   $curTerm *= num
143 @ll_set
144 @re_U_ok
146 $Enjoy
147 $Superb
148 $TRICK15 and a number
150 print pi