decrement
「decrement」の意味・「decrement」とは
「decrement」は、英語の単語であり、数値や量が減少すること、またはその減少量自体を指す。プログラミングの世界では、変数の値を一定量減らす操作を指すこともある。例えば、変数xが10のとき、decrement操作を行うと、xの値は9になる。「decrement」の発音・読み方
「decrement」の発音は、IPA表記では/dɪˈkrɛmənt/となる。このIPAのカタカナ読みは「ディクレメント」であり、日本人が発音するカタカナ英語では「ディクリメント」に近い。この単語は発音によって意味や品詞が変わる単語ではない。「decrement」の定義を英語で解説
「decrement」は、英語で"The act or process of decreasing or becoming less."と定義される。これは「減少する行為や過程、または減少すること自体」を意味する。「decrement」の類語
「decrement」の類語としては、「decrease」、「reduction」、「decline」、「diminution」などがある。これらの単語も同様に、何かが減少することを表す。「decrement」に関連する用語・表現
「decrement」に関連する用語としては、「increment」がある。これは「decrement」の反対で、数値や量が増加すること、またはその増加量自体を指す。「decrement」の例文
1. The decrement in the population was due to the epidemic.(その人口の減少は疫病が原因であった。)2. The decrement of the variable was performed in the loop.(その変数のデクリメントはループ内で行われた。)
3. The decrement in sales was significant.(その売上の減少は大きかった。)
4. The decrement operation is often used in programming.(デクリメント操作はプログラミングでよく使われる。)
5. The decrement in temperature was noticeable.(その温度の減少は顕著だった。)
6. The decrement of the counter was done every second.(そのカウンターのデクリメントは毎秒行われた。)
7. The decrement in the stock price was unexpected.(その株価の減少は予期しなかった。)
8. The decrement of the array index was necessary for the algorithm.(その配列のインデックスのデクリメントはアルゴリズムに必要だった。)
9. The decrement in the number of students was due to the new policy.(その学生数の減少は新しい政策が原因だった。)
10. The decrement operation is the opposite of the increment operation.(デクリメント操作はインクリメント操作の反対である。)
デクリメント
インクリメント
(デクリメント から転送)
出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2024/03/17 22:38 UTC 版)
インクリメント (英: increment) は、一般には増加・増量・増分・増大という意味だが、コンピュータ用語としては、変数の値を1増やす演算のことである[1]。
注釈
出典
- ^ a b “インクリメント (++) - JavaScript”. MDN Web Docs. 2021年5月18日閲覧。
- ^ a b “デクリメント (--) - JavaScript”. MDN Web Docs. 2021年5月18日閲覧。
- ^ EXP30-C. 副作用が発生する式の評価順序に依存しない
- ^ System.Inc - RAD Studio API Documentation
- ^ System.Dec - RAD Studio API Documentation
- ^ Inc / Reference for unit 'System' | Free Pascal
- ^ Dec / Reference for unit 'System' | Free Pascal
- ^ InterlockedIncrement function (winnt.h) - Win32 apps | Microsoft Learn
- ^ Interlocked.Increment Method (System.Threading) | Microsoft Learn
- ^ インクリメント/デクリメント演算子 (C) - cppreference.com
- ^ インクリメント/デクリメント演算子 (C++) - cppreference.com
- ^ Swift 3.0でなぜ「Cスタイルのforループ」「++/--演算子」などの仕様が廃止されたのか - Build Insider
- ^ IEC 62304 実践ガイドブック | 医療機器ソフトウェアに関する各国規制対応のための実例解説 | 一般社団法人 電子情報技術産業協会(JEITA)
- ^ An Investigation of the Therac-25 Accidents -- Part III, Internet Archive
- ^ 非推奨だった bool 型に対するインクリメント演算子を削除 - cpprefjp C++日本語リファレンス
- デクリメントのページへのリンク