るりまサーチ

最速Rubyリファレンスマニュアル検索!
842件ヒット [1-100件を表示] (0.074秒)
トップページ > クエリ:c[x] > クエリ:sin[x]

別のキーワード

  1. _builtin to_c
  2. etc sc_2_c_bind
  3. etc sc_2_c_dev
  4. tracer display_c_call
  5. tracer display_c_call=

モジュール

検索結果

<< 1 2 3 ... > >>

CMath.#sin(z) -> Float | Complex (21201.0)

z の正弦関数の値を返します。

z の正弦関数の値を返します。

@param z 数値(ラジアンで与えます)

@raise TypeError z に数値以外を指定した場合に発生します。

VALUE rb_singleton_class_clone(VALUE klass) (18300.0)

特異クラス klass を clone して返します。 klass が特異クラスでないときはただ klass を返します。

...特異クラス klass を clone して返します。
klass が特異クラスでないときはただ klass を返します。...

BigMath.#sin(x, prec) -> BigDecimal (18207.0)

x の正弦関数を prec で指定した精度で計算します。単位はラジアンです。x に無限大や NaN を指定した場合には NaN を返します。

...prec で指定した精度で計算します。単位はラジアンです。x
に無限大や NaN を指定した場合には NaN を返します。

@param x 計算対象の BigDecimal オブジェクト。単位はラジアン。

@param prec 計算結果の精度。

@raise ArgumentError prec...
...に 0 以下が指定された場合に発生します。

//emlist[][ruby]{
require "bigdecimal/math"

puts BigMath::sin(BigDecimal('0.5'), 10) #=> 0.479425538604203000273287935689073955184741e0
//}...

Shell::ProcessController::USING_AT_EXIT_WHEN_PROCESS_EXIT -> true (15200.0)

@todo

@todo

Object#singleton_class -> Class (12318.0)

レシーバの特異クラスを返します。 まだ特異クラスがなければ、新しく作成します。

...れ NilClass, TrueClass,
FalseClass を返します。

@raise TypeError レシーバが Integer、Float、Symbol の場合に発生します。

//emlist[][ruby]{
Object.new.singleton_class #=> #<Class:#<Object:0xb7ce1e24>>
String.singleton_class #=> #<Class:String>
nil.singleton_class...
...#=> NilClass
//}

@see Object#class...

絞り込み条件を変える

Module#singleton_class? -> bool (12218.0)

self が特異クラスの場合に true を返します。そうでなければ false を返し ます。

...self が特異クラスの場合に true を返します。そうでなければ false を返し
ます。

//emlist[例][ruby]{
c
lass C
end
C
.singleton_class? # => false
C
.singleton_class.singleton_class? # => true
//}...

Gem::QuickLoader#const_missing (12216.0)

prelude.c で定義されている内部用のメソッドです。

...prelude.c で定義されている内部用のメソッドです。...

Module#const_missing(name) (12206.0)

定義されていない定数を参照したときに Ruby インタプリタが このメソッドを呼びます。

...mbol

@raise NameError このメソッドを呼び出した場合、デフォルトで発生する例外


//emlist[例][ruby]{
c
lass Foo
def Foo.const_missing(id)
warn "undefined constant #{id.inspect}"
end

Bar
end
Foo::Bar

# => undefined constant :Bar
# undefined constant :Bar
//}...

OpenSSL::SSL::OP_SINGLE_ECDH_USE -> Integer (12200.0)

@todo OpenSSL::SSL::SSLContext#options= で利用します。

...@todo
OpenSSL::SSL::SSLContext#options= で利用します。...

RDoc::Context#find_enclosing_module_named(name) -> RDoc::NormalModule | nil (12200.0)

find a module at a higher scope

...find a module at a higher scope...

絞り込み条件を変える

<< 1 2 3 ... > >>