| Electronic Components Datasheet Search |
|
ST20-C1 Datasheet(PDF) 181 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-C1 Datasheet(HTML) 181 Page - STMicroelectronics |
|
181 / 205 page ![]() 181/205 ® Consider compiling the following switch expression: switch X c1 P1 ... cn Pn where, for brevity, it is assumed that all the switch selectors are already in increasing order. Three entries or less This switch is compiled as: if (X = c1) P1 else if (X = c2) P2 ... else if (X = cn) Pn Four to twelve entries This switch is compiled as: if (X <= cn/2 ) { if (X <= cn/4 ) ... etc. else ... etc. } else ... etc. Using a jump table Assume that ci ... cm form a third filled jump table. Then the switch is compiled as: if ( X < ci ) { switch X c1 P1 ... ci-1 Pi-1 |
|
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 |