るりまサーチ

最速Rubyリファレンスマニュアル検索!
27件ヒット [1-27件を表示] (0.018秒)
トップページ > クエリ:times[x] > 種類:ライブラリ[x]

別のキーワード

  1. _builtin times
  2. integer times
  3. process times
  4. times _builtin

キーワード

検索結果

xmlrpc (13.0)

XML-RPC を扱うためのライブラリです。

...ions that span
computer languages. Its distinctive feature is its simplicity compared to
other approaches like SOAP and CORBA.

The Ruby standard library package 'xmlrpc' enables you to create a server that
implements remote procedures and a client that calls them. Very little code
is required to...
...rser and scales well for large documents. For example for a 0.5 MB XML
document with many tags, XMLStreamParser is ~350 (!) times faster than
NQXMLTreeParser and still ~18 times as fast as XMLTreeParser.

You can change the XML-writer by calling method <i>set_writer</i>.

=== 参考

* http://www....

bigdecimal (7.0)

bigdecimal は浮動小数点数演算ライブラリです。 任意の精度で 10 進表現された浮動小数点数を扱えます。

...指定することができます。

//emlist[pi.rb][ruby]{
#!/usr/local/bin/ruby

require "bigdecimal"
#
# Calculates 3.1415.... (the number of times that a circle's diameter
# will fit around the circle) using J. Machin's formula.
#
def big_pi(sig) # sig: Number of significant figures
exp =...

coverage (7.0)

カバレッジを測定するためのライブラリです。

...とするハッシュを返します。

==== 簡単な例

まず測定対象のソースを用意します。

//emlist[foo.rb][ruby]{
s = 0
10.times do |x|
s += x
end

if s == 45
p :ok
else
p :ng
end
//}

以下のようにして測定を行います。

//emlist[][ruby]{
require "coverage"...