| Electronic Components Datasheet Search |
|
AN3350 Datasheet(PDF) 148 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(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. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |