| 전자부품 데이터시트 검색엔진 |
|
AN3350 데이터시트(PDF) 148 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 데이터시트(HTML) 148 Page - STMicroelectronics |
|
148 / 185 page ![]() Pragmas for diagnostic messages AN3350 148/185 Doc ID 018512 Rev 2 Remarks If you enable this pragma, the compiler issues a warning message for implicitly converting floating-point values to integral values.Example 94 provides an example. Example 94 Example of implicit float-to-int conversion #pragma warn_impl_f2i_conv on float f; signed int si; int main() { f = si; /* WARNING */ #pragma warn_impl_f2i_conv off si = f; /* OK */ } By default, this pragma is on. 19.21 warn_impl_i2f_conv Controls the issuing of warning messages for implicit int-to-float conversions. Syntax #pragma warn_impl_i2f_conv on | off | reset Remarks If you enable this pragma, the compiler issues a warning message for implicitly converting integral values to floating-point values. Example 95 shows an example. Example 95 Example of implicit int-to-float conversion #pragma warn_impl_i2f_conv on float f; signed int si; int main() { si = f; /* WARNING */ #pragma warn_impl_i2f_conv off f = si; /* OK */ } By default, this pragma is off. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |