The New C Standard- P12

Tham khảo tài liệu 'the new c standard- p12', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Bitwise AND operator 1238 Commentary The rationale for performing these conversions is a general one that is not limited to the operands of the 702 operators i cdube coi iveisioi Is arithmetic operators. C The following conversion is presumably performed on the operands. The usual arithmetic conversions are performed 5 11 1 Common Implementations If one of the operands is positive and has a type with lower rank than the other operand it may be possible to make use of processor instructions that operate on narrower width values. Converting the operand to the greater rank will cause it to be zero extended which will cancel out any ones in the other operand. Unless both operands are known to be positive there tend to be few opportunities for optimizing occurrences of the A and operators because of the possibility that the result may be affected by an increase in value representation bits . Coding Guidelines Unless both operands have the same type which also has a rank at least equal to that of int these conversions will increase the number of value representation bits in one or both operands. Given that the binary operator is defined to work at the bit level developers have to invest additional effort in considering the effects of the usual arithmetic operands on the result of this operator. A probabilistic argument could be used to argue that of all the bitwise operators the operator has the lowest probability of causing a fault through an unexpected increase in the number of value representation bits. For instance the probability of both operands having a negative value needed for any additional bits to be set in the result is lower than the probability of one operand having a negative value needed for a bit to be set in the result of the A and operators . Unless the operands have a bit-set role the guideline recommendation dealing with use of representation 945 bit-set role represeninformation is applicable here. tatioi ii- formation using 1237 The .

TÀI LIỆU LIÊN QUAN
50    367    13
27    238    5
136    430    15
5    172    0
132    268    8
2    205    0
14    178    0
44    252    0
5    207    1
447    239    4
TÀI LIỆU XEM NHIỀU
13    39647    2307
3    24079    245
25    23429    4215
16    19412    2825
20    18922    1535
1    18615    606
14    18277    2915
37    15413    2945
3    14789    310
1    13155    117
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
174    143    2    11-12-2023
8    60    1    11-12-2023
110    72    5    11-12-2023
57    432    5    11-12-2023
4    49    1    11-12-2023
133    62    4    11-12-2023
101    43    1    11-12-2023
7    48    1    11-12-2023
347    1    1    11-12-2023
6    53    1    11-12-2023
11    77    1    11-12-2023
114    55    2    11-12-2023
190    55    2    11-12-2023
146    50    3    11-12-2023
79    53    2    11-12-2023
20    59    2    11-12-2023
316    35    2    11-12-2023
6    145    1    11-12-2023
20    31    1    11-12-2023
5    120    1    11-12-2023
TÀI LIỆU HOT
3    24079    245
13    39647    2307
3    2275    81
580    4522    361
62    6061    1
584    2824    96
171    5266    710
2    2593    78
51    3939    193
53    4306    187
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.