$14 GRAYBYTE WORDPRESS FILE MANAGER $83

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/ruby18/share/ri/1.8/system/Numeric/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/Numeric//step-i.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Invokes <em>block</em> with the sequence of numbers starting at <em>num</em>, incremented by <em>step</em> on each call. The loop finishes when the value to be passed to the block is greater than <em>limit</em> (if <em>step</em> is positive) or less than <em>limit</em> (if <em>step</em> is negative). If all the arguments are integers, the loop operates using an integer counter. If any of the arguments are floating point numbers, all are converted to floats, and the loop is executed <em>floor(n + n*epsilon)+ 1</em> times, where <em>n = (limit - num)/step</em>. Otherwise, the loop starts at <em>num</em>, uses either the <tt>&lt;</tt> or <tt>&gt;</tt> operator to compare the counter against <em>limit</em>, and increments itself using the <tt>+</tt> operator.
- !ruby/struct:SM::Flow::VERB 
  body: "   1.step(10, 2) { |i| print i, &quot; &quot; }\n   Math::E.step(Math::PI, 0.2) { |f| print f, &quot; &quot; }\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB 
  body: "   1 3 5 7 9\n   2.71828182845905 2.91828182845905 3.11828182845905\n"
full_name: Numeric#step
is_singleton: false
name: step
params: |
  num.step(limit, step ) {|i| block }     => num

visibility: public


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
%2b%40-i.yaml
0.249 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%2d%40-i.yaml
0.263 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
%3c%3d%3e-i.yaml
0.294 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
abs-i.yaml
0.396 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
angle-i.yaml
0.213 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
arg-i.yaml
0.249 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-Numeric.yaml
1.898 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ceil-i.yaml
0.553 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
coerce-i.yaml
0.773 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
conj-i.yaml
0.217 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
conjugate-i.yaml
0.305 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
div-i.yaml
0.384 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
divmod-i.yaml
2.035 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
eql%3f-i.yaml
0.473 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
fdiv-i.yaml
0.323 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
floor-i.yaml
0.495 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
im-i.yaml
0.242 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
imag-i.yaml
0.213 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
image-i.yaml
0.282 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
integer%3f-i.yaml
0.341 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
modulo-i.yaml
0.306 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
nonzero%3f-i.yaml
0.689 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
polar-i.yaml
0.215 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
quo-i.yaml
0.321 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
real-i.yaml
0.248 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
remainder-i.yaml
0.582 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
round-i.yaml
0.371 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
singleton_method_added-i.yaml
0.322 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
step-i.yaml
1.303 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_int-i.yaml
0.309 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
truncate-i.yaml
0.379 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
zero%3f-i.yaml
0.282 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF