種類
- 定数 (319)
- インスタンスメソッド (73)
- モジュール関数 (11)
- ライブラリ (11)
- 関数 (1)
ライブラリ
- ビルトイン (22)
- bigdecimal (88)
- etc (11)
- mkmf (22)
- openssl (220)
- shell (6)
-
shell
/ process-controller (6) -
shell
/ system-command (6) - socket (22)
クラス
- BigDecimal (88)
-
OpenSSL
:: PKCS7 (66) -
OpenSSL
:: PKCS7 :: SignerInfo (11) - Shell (6)
-
Shell
:: ProcessController (6) -
Shell
:: SystemCommand (6) - SignalException (11)
- Socket (11)
モジュール
- Etc (11)
- Kernel (22)
-
OpenSSL
:: OCSP (11) -
OpenSSL
:: X509 (132) - Process (11)
-
Socket
:: Constants (11)
キーワード
- BINARY (11)
- DETACHED (11)
-
MSG
_ NOSIGNAL (22) - NOATTR (11)
- NOCASIGN (11)
- NOCERTS (11)
- NOSMIMECAP (11)
-
PURPOSE
_ CRL _ SIGN (11) -
PURPOSE
_ SMIME _ SIGN (11) -
SC
_ REALTIME _ SIGNALS (11) -
SIGN
_ NEGATIVE _ FINITE (11) -
SIGN
_ NEGATIVE _ INFINITE (11) -
SIGN
_ NEGATIVE _ ZERO (11) -
SIGN
_ NaN (11) -
SIGN
_ POSITIVE _ FINITE (11) -
SIGN
_ POSITIVE _ INFINITE (11) -
SIGN
_ POSITIVE _ ZERO (11) - TEXT (11)
-
TRUST
_ OBJECT _ SIGN (11) -
TRUST
_ OCSP _ SIGN (11) -
V
_ ERR _ CERT _ SIGNATURE _ FAILURE (11) -
V
_ ERR _ CRL _ SIGNATURE _ FAILURE (11) -
V
_ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT (11) -
V
_ ERR _ KEYUSAGE _ NO _ CERTSIGN (11) -
V
_ ERR _ SELF _ SIGNED _ CERT _ IN _ CHAIN (11) -
V
_ ERR _ UNABLE _ TO _ DECRYPT _ CERT _ SIGNATURE (11) -
V
_ ERR _ UNABLE _ TO _ DECRYPT _ CRL _ SIGNATURE (11) -
V
_ ERR _ UNABLE _ TO _ VERIFY _ LEAF _ SIGNATURE (11) - bigdecimal (11)
-
check
_ signedness (22) - kill (23)
-
kill
_ job (6) -
rb
_ quad _ unpack (1) - serial (11)
- signo (11)
検索結果
先頭5件
- BigDecimal
# sign -> -3 | -2 | -1 | 0 | 1 | 2 | 3 - SignalException
# signo -> Integer - Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil - Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil - BigDecimal
:: SIGN _ NEGATIVE _ FINITE -> Integer
-
BigDecimal
# sign -> -3 | -2 | -1 | 0 | 1 | 2 | 3 (18213.0) -
自身の符号等の性質に応じて、Integer を返します。
...じて、Integer を返します。
符号が正であれば正の整数を返し、負であれば負の整数を返し、NaN であれば 0 を返します。
NaN であれば、 0。 BigDecimal::SIGN_NaN と同じです。
+0 であれば、 1。 BigDecimal::SIGN_POSITIVE_ZER......BigDecimal::SIGN_NEGATIVE_ZERO と同じです。
有限の正の値 であれば、 2。 BigDecimal::SIGN_POSITIVE_FINITE と同じです。
有限の負の値 であれば、-2。 BigDecimal::SIGN_NEGATIVE_FINITE と同じです。
+Infinity であれば、 3。 BigDecimal::SIGN_POSITIVE_IN......l::SIGN_NEGATIVE_INFINITE と同じです。
BigDecimal は、 0 であっても、+ か - の符号を持つことに注意して下さい。
(「lib:bigdecimal#internal_structure」を参照)
//emlist[][ruby]{
require "bigdecimal"
p BigDecimal("NaN").sign # => 0
p BigDecimal("0").sign... -
SignalException
# signo -> Integer (9201.0) -
self のシグナル番号を返します。
...self のシグナル番号を返します。
//emlist[例][ruby]{
p Signal.signame(1) # => "HUP"
begin
Process.kill('HUP', Process.pid)
sleep
rescue SignalException => e
p e.signo # => 1
end
//}... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (6332.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
...eturns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS_OF......is positive integer if the +type+ is
unsigned, or negative integer if the +type+ is signed.
For example, if size_t is defined as unsigned, then
check_signedness('size_t') would returned +1 and the
SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the
compiler, and SIGNEDNESS_OF_I......NT=-1 if check_signedness('int') is
done.... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (6332.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
...eturns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS_OF......is positive integer if the +type+ is
unsigned, or negative integer if the +type+ is signed.
For example, if size_t is defined as unsigned, then
check_signedness('size_t') would returned +1 and the
SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the
compiler, and SIGNEDNESS_OF_I......NT=-1 if check_signedness('int') is
done.... -
BigDecimal
:: SIGN _ NEGATIVE _ FINITE -> Integer (6218.0) -
負の値に対応する BigDecimal#sign の値を返します。
...負の値に対応する BigDecimal#sign の値を返します。... -
BigDecimal
:: SIGN _ NEGATIVE _ INFINITE -> Integer (6218.0) -
負の無限大に対応する BigDecimal#sign の値を返します。
...負の無限大に対応する BigDecimal#sign の値を返します。... -
BigDecimal
:: SIGN _ NEGATIVE _ ZERO -> Integer (6218.0) -
負の 0 に対応する BigDecimal#sign の値を返します。
...負の 0 に対応する BigDecimal#sign の値を返します。... -
BigDecimal
:: SIGN _ NaN -> Integer (6218.0) -
NaN に対応する BigDecimal#sign の値を返します。
...NaN に対応する BigDecimal#sign の値を返します。... -
BigDecimal
:: SIGN _ POSITIVE _ FINITE -> Integer (6218.0) -
正の値に対応する BigDecimal#sign の値を返します。
...正の値に対応する BigDecimal#sign の値を返します。... -
BigDecimal
:: SIGN _ POSITIVE _ INFINITE -> Integer (6218.0) -
正の無限大に対応する BigDecimal#sign の値を返します。
...正の無限大に対応する BigDecimal#sign の値を返します。...