| 意味 |
spaceship operatorとは 意味・読み方・使い方
追加できません
(登録数上限)
ウィキペディア英語版での「spaceship operator」の意味 |
Spaceship operator
出典:『Wikipedia』 (2011/05/25 11:22 UTC 版)
<=>, is a binary relational operator that originated in the Perl programming language. Other languages, such as Ruby and Groovy also support the spaceship operator. Unlike traditional equality operators, which will return 1 (true) or 0 (false) depending on whether the arguments are equal or unequal, the spaceship operator will return 1, 0, or −1 depending on the value of the left argument relative to the right argument. If the left argument is greater than the right argument, the operator returns 1. If the left argument is less than the right argument, the operator returns −1. If the two arguments are equal, the operator returns 0. If the two arguments cannot be compared (e.g. one of them is NaN), the operator returns undef.
|
| 意味 |
spaceship operatorのページの著作権
英和・和英辞典
情報提供元は
参加元一覧
にて確認できます。
|
Text is available under Creative Commons Attribution-ShareAlike (CC-BY-SA) and/or GNU Free Documentation License (GFDL). Weblio英和・和英辞典に掲載されている「Wikipedia英語版」の記事は、WikipediaのSpaceship operator (改訂履歴)の記事を複製、再配布したものにあたり、Creative Commons Attribution-ShareAlike (CC-BY-SA)もしくはGNU Free Documentation Licenseというライセンスの下で提供されています。 |
ピン留めアイコンをクリックすると単語とその意味を画面の右側に残しておくことができます。 |
|
ログイン |
Weblio会員(無料)になると
|
-
1around
-
2miss
-
3take
-
4shipping policy
-
5while
-
6leave
-
7feed
-
8present
-
9through
-
10everything
「spaceship operator」のお隣キーワード |
weblioのその他のサービス
|
ログイン |
Weblio会員(無料)になると
|