るりまサーチ

最速Rubyリファレンスマニュアル検索!
149件ヒット [101-149件を表示] (0.008秒)
トップページ > クエリ:normalized[x]

別のキーワード

  1. entity normalized
  2. attribute normalized=
  3. rexml/document normalized
  4. rexml/document normalized=
  5. string unicode_normalized?

検索結果

<< < 1 2 >>

pack テンプレート文字列 (12.0)

pack テンプレート文字列

...enormalized number)
end
elsif exp == 255
if fra == 0
sgn * Inf # ±∞ (positive/negative infinity)
else
NaN # 非数 (not a number)
end
else
fra += 1 << 23 # ゲタ
sgn * fra * 2**(exp-127-23) # 正規化数 (normalized...
...enormalized number)
end
elsif exp == 2047
if fra == 0
sgn * Inf # ±∞ (positive/negative infinity)
else
NaN # 非数 (not a number)
end
else
fra += 1 << 52 # ゲタ
sgn * fra * 2**(exp-1023-52) # 正規化数 (normalized...

NEWS for Ruby 2.2.0 (6.0)

NEWS for Ruby 2.2.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...ようになりました

* String
* 追加: String#unicode_normalize
* 追加: String#unicode_normalize!
* 追加: String#unicode_normalized?

* Symbol
* 改善: String#to_sym, String#intern によって返される多くのシンボルがGC可能になりました

* Method...

REXML::Entity#value -> String | nil (6.0)

実体の値を返します。

...ータ実体参照(parameter entity)のみが展開され、
そうでない実体参照(general entity)は展開されて
いないような値が返されます。

外部実体(external entity)宣言の場合は nil を返します。

@see REXML::Entity#unnormalized, REXML::Entity#normalized...

String#unicode_normalize!(form = :nfc) -> self (6.0)

self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列に置き換えます。

...に発生します。

//emlist[例][ruby]{
text = "a\u0300"
text.unicode_normalize!(:nfc)
text == "\u00E0" # => true
text.unicode_normalize!(:nfd)
text == "a\u0300" # => true
//}

@see String#unicode_normalize, String#unicode_normalized?...

String#unicode_normalize(form = :nfc) -> String (6.0)

self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列を返します。

...# => 'à' ("\u00E0" と同じ)
"\u00E0".unicode_normalize(:nfd) # => 'à' ("a\u0300" と同じ)
"\xE0".force_encoding('ISO-8859-1').unicode_normalize(:nfd)
# => Encoding::CompatibilityError raised
//}

@see String#unicode_normalize!, String#unicode_normalized?...

絞り込み条件を変える

<< < 1 2 >>