]> git.sur5r.net Git - cc65/blobdiff - src/common/shift.c
Merge branch 'master' of https://github.com/jedeoric/cc65
[cc65] / src / common / shift.c
index f9a842a88076a4a9143789c5a7077761e0a4376a..16b9d0c5dffd8d8a518d4bceb9ff913bad556a65 100644 (file)
@@ -7,7 +7,7 @@
 /*                                                                           */
 /*                                                                           */
 /* (C) 2003      Ullrich von Bassewitz                                       */
-/*               Römerstraße 52                                              */
+/*               Roemerstrasse 52                                            */
 /*               D-70794 Filderstadt                                         */
 /* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 
 
 /* According to the C standard, shifting a data type by the number of bits it
- * has causes undefined behaviour. So 
- *
- *      unsigned long l = 1;
- *      unsigned u =32;
- *      l <<= u;
- *
- * maybe illegal. The functions in this module behave safely in this respect,
- * and they use proper casting to distinguish signed from unsigned shifts.
- * They are not a general purpose replacement for the shift operator!
- */
+** has causes undefined behaviour. So
+**
+**      unsigned long l = 1;
+**      unsigned u =32;
+**      l <<= u;
+**
+** may be illegal. The functions in this module behave safely in that respect,
+** and they use proper casting to distinguish signed from unsigned shifts.
+** They are not a general purpose replacement for the shift operator!
+*/