Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #398106 > unrolled thread

Safety of casting from 'long' to 'int'

Started bykalevi@kolttonen.fi (Kalevi Kolttonen)
First post2026-04-30 00:39 +0000
Last post2026-05-11 18:23 +0200
Articles 20 on this page of 735 — 20 participants

Back to article view | Back to comp.lang.c


Contents

  Safety of casting from 'long' to 'int' kalevi@kolttonen.fi (Kalevi Kolttonen) - 2026-04-30 00:39 +0000
    Re: Safety of casting from 'long' to 'int' wij <wyniijj5@gmail.com> - 2026-04-30 09:11 +0800
    Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-04-29 21:12 -0400
    Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-04-29 19:56 -0700
      Re: Safety of casting from 'long' to 'int' wij <wyniijj5@gmail.com> - 2026-04-30 11:30 +0800
    Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-04-30 00:56 -0700
    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-04-30 10:47 +0200
      Re: Safety of casting from 'long' to 'int' wij <wyniijj5@gmail.com> - 2026-04-30 19:35 +0800
        Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-04-30 14:04 +0200
          Re: Safety of casting from 'long' to 'int' wij <wyniijj5@gmail.com> - 2026-05-02 12:32 +0800
            Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-02 08:57 +0200
            Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-02 11:58 +0200
              Re: Safety of casting from 'long' to 'int' wij <wyniijj5@gmail.com> - 2026-05-02 19:59 +0800
                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-02 15:13 +0200
                  Re: Safety of casting from 'long' to 'int' wij <wyniijj5@gmail.com> - 2026-05-02 22:32 +0800
                    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-02 17:17 +0200
                      Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-02 16:56 -0400
                        Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-03 20:11 -0700
                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-02 14:35 -0700
                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-02 22:45 +0100
                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-02 15:02 -0700
                    Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-02 17:24 +0200
                    Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-02 10:54 -0700
                      Re: Safety of casting from 'long' to 'int' wij <wyniijj5@gmail.com> - 2026-05-03 05:19 +0800
                        Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-02 16:50 -0700
                          Re: Safety of casting from 'long' to 'int' wij <wyniijj5@gmail.com> - 2026-05-03 07:56 +0800
                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-02 14:18 +0100
                  Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-02 15:52 +0200
                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-02 16:39 +0100
                      Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-02 21:16 +0200
                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 01:38 +0100
                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-02 17:52 -0700
                            Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-03 12:39 +0200
                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-03 14:19 -0700
                                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 08:41 +0200
                                  Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 11:22 +0200
                        Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-04 13:47 -0700
                          Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-05 02:12 +0200
                            Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-05 15:02 +0000
                              Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-06 04:06 +0200
                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 08:47 +0200
                            Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-05 00:11 -0700
                            Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-05 00:15 -0700
                      Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-02 16:52 -0700
                        Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-03 08:26 +0300
                          Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-03 14:24 +0000
                            Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-03 18:53 +0300
                              Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-03 19:46 +0000
                                Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-03 23:07 +0300
                                  Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-03 21:19 +0000
                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-03 16:02 -0700
                          Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-06 19:43 -0700
                            Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-08 18:47 +0000
                              Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-08 15:10 -0700
                                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-09 12:40 +0200
                            Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 20:30 +0000
                              Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-08 21:39 +0000
                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-09 01:09 +0000
                              Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-09 06:25 +0200
                              Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-10 09:14 -0700
                                Re: Safety of casting from 'long' to 'int' kalevi@kolttonen.fi (Kalevi Kolttonen) - 2026-05-10 16:44 +0000
                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 17:27 +0000
                                  Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-06-07 18:02 -0700
                      Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-03 00:18 +0000
                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 11:18 +0100
                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-02 17:39 -0700
                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 00:55 +0200
                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-03 16:50 -0700
                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-02 18:53 +0100
                      Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-02 21:20 +0200
                        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-02 14:46 -0700
                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-03 01:14 +0200
                            Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-02 17:02 -0700
                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-03 12:46 +0200
                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-02 23:51 +0100
                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-03 01:20 +0200
                            Re: Safety of casting from 'long' to 'int' wij <wyniijj5@gmail.com> - 2026-05-03 07:43 +0800
                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-03 12:50 +0200
                              Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-03 14:27 -0400
                                Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-03 20:27 -0700
                      Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-03 00:30 +0000
                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 01:55 +0100
                          Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-03 02:21 +0000
                            Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-03 08:53 +0300
                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 11:59 +0100
                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-03 13:27 +0200
                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 13:46 +0100
                                  Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-03 15:06 +0200
                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 17:39 +0100
                                      Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-03 20:54 +0200
                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 21:29 +0100
                                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-03 23:11 +0200
                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-03 15:47 -0700
                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 23:59 +0100
                                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 09:28 +0200
                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-04 13:22 +0100
                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-03 15:17 -0700
                                      Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-04 14:14 -0700
                                        Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-04 14:21 -0700
                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 16:05 -0700
                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-04 22:24 +0100
                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 16:16 -0700
                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-05 00:40 +0100
                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 17:24 -0700
                                              Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-05 16:58 -0400
                                            Re: Safety of casting from 'long' to 'int' kalevi@kolttonen.fi (Kalevi Kolttonen) - 2026-05-05 00:04 +0000
                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 17:34 -0700
                                                Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-05 01:59 -0700
                                                  Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-05 14:37 -0700
                                                Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-05 15:00 +0000
                                            Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-05 01:04 +0000
                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 19:38 -0700
                                                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 09:34 +0200
                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-05 13:40 +0000
                                            Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 09:04 +0200
                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-05 00:19 -0700
                                              Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-05 17:06 -0400
                                            Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-05 01:57 -0700
                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-05 00:48 +0000
                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-05 02:27 +0100
                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-05 13:02 +0000
                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-05 14:56 +0100
                                                  Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-05 15:07 +0000
                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-05 16:34 +0000
                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-05 20:17 +0100
                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-05 21:08 +0000
                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-05 23:30 +0100
                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-05 23:06 +0000
                                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-06 02:23 +0100
                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-06 12:37 +0000
                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-06 16:09 +0100
                                                                  Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-06 15:21 +0000
                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-06 18:02 +0100
                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-06 19:35 +0000
                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-06 23:38 +0100
                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-07 03:02 +0000
                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-07 12:10 +0100
                                                                          Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-07 08:32 -0700
                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-07 15:36 +0000
                                                                            Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-07 18:20 +0200
                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-07 20:55 +0000
                                                                                Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-07 23:20 +0200
                                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 14:55 +0000
                                                                                    Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-08 17:39 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-08 17:10 +0100
                                                                                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-08 18:31 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 17:51 +0000
                                                                                        Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-09 08:48 -0700
                                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-09 18:18 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-06-01 15:20 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-06-02 16:50 +0000
                                                                                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-08 08:32 +0200
                                                                                  Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-08 11:15 +0100
                                                                                    Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-08 16:50 +0200
                                                                                  Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-08 14:00 +0300
                                                                                    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-08 13:25 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-08 15:51 +0300
                                                                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-08 17:13 +0200
                                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 14:57 +0000
                                                                                Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-09 06:35 -0700
                                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-09 20:13 +0000
                                                                                    Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-09 23:18 +0000
                                                                                      Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-10 22:31 -0700
                                                                                    Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-10 21:49 -0700
                                                                            Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-07 23:05 +0300
                                                                            Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-07 23:11 +0300
                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 15:33 +0000
                                                                                Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-08 18:04 +0200
                                                                            Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-07 13:19 -0700
                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 15:37 +0000
                                                                                Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-08 15:12 -0700
                                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-07 03:42 -0700
                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-07 12:48 +0100
                                                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-07 06:00 -0700
                                                                            Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-07 15:54 +0200
                                                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-07 15:02 +0100
                                                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-07 16:48 -0700
                                                                              Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-07 20:30 -0400
                                                                            Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-07 19:17 +0200
                                                                            Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-07 20:56 +0000
                                                                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-07 15:48 +0200
                                                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-07 15:17 +0100
                                                                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-07 17:04 +0200
                                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-07 17:07 +0100
                                                                                Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-07 19:30 +0200
                                                                                  Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-08 09:22 +0200
                                                                                    Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-08 18:24 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-08 17:08 +0000
                                                                                        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-08 10:25 -0700
                                                                                          Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-08 17:49 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-08 11:51 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-08 21:31 +0000
                                                                                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-08 20:02 +0200
                                                                              Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-07 08:41 -0700
                                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-07 20:39 +0100
                                                                                  Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-07 13:14 -0700
                                                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-07 16:11 -0700
                                                                                Re: Safety of casting from 'long' to 'int' Richard Harnden <richard.nospam@gmail.invalid> - 2026-05-08 08:18 +0100
                                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-08 11:33 +0100
                                                                                  Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-08 12:48 +0100
                                                                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-08 09:58 -0700
                                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-08 21:04 +0100
                                                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-08 13:15 -0700
                                                                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-09 03:02 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-09 12:54 +0200
                                                                                  Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-08 15:51 -0700
                                                                            Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-07 19:02 +0200
                                                                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-07 20:56 +0200
                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-07 22:08 +0000
                                                                                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-08 09:54 +0200
                                                                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-08 02:07 -0700
                                                                                    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-08 12:43 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-10 20:31 -0400
                                                                                        Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-11 08:55 +0200
                                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 17:07 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 11:32 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 18:56 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-11 22:37 +0200
                                                                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 14:30 -0700
                                                                                                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-12 08:35 +0200
                                                                                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-12 00:38 -0700
                                                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-12 14:05 +0000
                                                                                                    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-12 16:32 +0200
                                                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-12 17:27 +0000
                                                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-12 15:33 +0100
                                                                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-12 16:00 -0700
                                                                                                        Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-12 23:14 +0000
                                                                                                      Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-12 19:48 -0700
                                                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-13 12:48 +0100
                                                                                                          Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-13 05:26 -0700
                                                                                                          Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 15:07 +0200
                                                                                                          Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-17 20:43 -0400
                                                                                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 12:16 +0200
                                                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-13 13:20 +0100
                                                                                                        Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 14:31 +0000
                                                                                                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-13 17:16 +0200
                                                                                                            Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 15:52 +0000
                                                                                                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-14 11:43 +0200
                                                                                                          Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-14 02:59 +0200
                                                                                                            Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-14 01:39 +0000
                                                                                                              Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-14 03:57 +0200
                                                                                                                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-14 11:49 +0200
                                                                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-14 10:57 +0000
                                                                                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-14 10:22 +0000
                                                                                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-14 12:32 +0100
                                                                                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-14 16:11 -0700
                                                                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-15 01:12 +0100
                                                                                                                Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-15 02:30 +0200
                                                                                                              Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-15 02:38 +0200
                                                                                                              Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-18 19:48 -0400
                                                                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-19 01:12 +0100
                                                                                                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-18 19:22 -0700
                                                                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-19 11:31 +0100
                                                                                                                      Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-19 12:21 +0000
                                                                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-19 14:15 +0100
                                                                                                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-19 14:14 -0700
                                                                                                                        Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-22 21:58 -0700
                                                                                                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-22 23:23 -0700
                                                                                                                            Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-23 00:09 -0700
                                                                                                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-23 04:13 -0700
                                                                                                                                Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-24 04:37 -0700
                                                                                                                        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-27 17:57 -0700
                                                                                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-19 14:12 -0700
                                                                                                                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-20 04:20 +0200
                                                                                                                      Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-19 19:00 -0400
                                                                                                                        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-19 16:56 -0700
                                                                                                                  Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-19 11:31 -0400
                                                                                                            Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-14 08:37 -0700
                                                                                                              Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-14 17:00 +0100
                                                                                                                Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-14 09:44 -0700
                                                                                                                  Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-14 18:57 +0100
                                                                                                                    Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-31 18:25 -0700
                                                                                                                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-14 18:51 +0200
                                                                                                                  Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-14 19:19 +0100
                                                                                                                    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-14 20:50 +0200
                                                                                                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-15 02:52 +0200
                                                                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-15 02:07 +0100
                                                                                                                          Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-15 03:39 +0200
                                                                                                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-14 19:04 -0700
                                                                                                                        Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-15 10:27 +0200
                                                                                                                        Re: Safety of casting from 'long' to 'int' tTh <tth@none.invalid> - 2026-05-15 12:25 +0200
                                                                                                                Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-14 16:40 -0700
                                                                                                                  Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-15 01:31 +0100
                                                                                                                    Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-14 17:52 -0700
                                                                                                                    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-15 10:32 +0200
                                                                                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-15 02:35 -0700
                                                                                                                      Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-15 11:38 +0100
                                                                                                                        Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-15 11:35 +0000
                                                                                                                          Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-15 13:05 +0100
                                                                                                                        Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-15 13:58 +0200
                                                                                                                          Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-15 14:54 +0100
                                                                                                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-15 15:00 +0100
                                                                                                                              Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-15 16:01 +0000
                                                                                                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-15 12:23 -0700
                                                                                                                                Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-15 12:54 -0700
                                                                                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-15 21:39 +0100
                                                                                                                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-15 14:14 -0700
                                                                                                                                  Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-16 00:44 +0200
                                                                                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-16 00:36 +0100
                                                                                                                Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-15 02:46 +0200
                                                                                                    Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 12:34 +0200
                                                                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-12 13:36 +0000
                                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-12 13:10 +0000
                                                                                                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-12 16:46 +0200
                                                                                                  Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-12 15:19 +0000
                                                                                                    Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-12 19:02 -0700
                                                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 14:33 +0000
                                                                                                        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-13 11:44 -0700
                                                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 21:22 +0000
                                                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-12 15:57 +0000
                                                                                                    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-12 19:07 +0200
                                                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-12 18:09 +0000
                                                                                                        Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-12 18:45 +0000
                                                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-12 21:24 +0000
                                                                                                          Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 13:14 +0200
                                                                                                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 13:12 +0200
                                                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 14:40 +0000
                                                                                                          Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-14 08:13 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 12:41 +0200
                                                                                        Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-12 18:36 -0700
                                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 14:47 +0000
                                                                                  Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-08 18:54 +0200
                                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 22:43 +0000
                                                                                    Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-08 16:15 -0700
                                                                                    Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-09 02:32 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-09 01:36 +0000
                                                                                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-10 07:23 +0200
                                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 12:37 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-11 08:06 +0200
                                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 10:56 +0000
                                                                                      Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-13 11:32 -0700
                                                                                    Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-08 20:04 -0700
                                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-09 20:14 +0000
                                                                                    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-09 15:19 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 16:20 +0000
                                                                              Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-08 09:23 -0700
                                                                                Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-08 19:58 +0200
                                                                                  Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-13 10:38 -0700
                                                                      Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-07 07:46 -0400
                                                                      Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-08 21:02 +0000
                                                                        Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-08 21:47 +0000
                                                                          Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-08 22:58 +0100
                                                                            Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-08 16:56 -0700
                                                                            Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-09 07:37 +0200
                                                                            Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-09 17:39 +0000
                                                                          Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-09 00:05 +0000
                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-09 00:37 +0100
                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-09 01:57 +0000
                                                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-09 11:56 +0100
                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-09 15:18 +0000
                                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-09 17:16 +0100
                                                                                  Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-09 18:38 +0200
                                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-09 19:20 +0100
                                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 04:15 +0000
                                                                                      Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-10 11:29 +0200
                                                                                        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-10 03:25 -0700
                                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 12:29 +0100
                                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 12:39 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 14:51 +0100
                                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 16:28 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-13 04:27 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 15:14 +0000
                                                                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 15:55 +0000
                                                                                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-10 15:03 +0200
                                                                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 14:38 +0100
                                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 16:37 +0000
                                                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 18:00 +0100
                                                                                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-10 18:53 +0200
                                                                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-10 16:38 -0700
                                                                                      Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-10 14:58 +0000
                                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 16:47 +0100
                                                                                          Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-10 16:22 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 17:57 +0100
                                                                                            Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-10 22:46 +0000
                                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 17:03 +0000
                                                                                          Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 11:53 +0100
                                                                                            Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-11 18:11 +0200
                                                                                            Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 11:05 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 19:24 +0100
                                                                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 19:04 +0000
                                                                                                  Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 20:52 +0100
                                                                                                    Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 20:04 +0000
                                                                                                      Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-11 22:45 +0200
                                                                                              Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-11 13:46 -0700
                                                                                        Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-10 18:55 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-10 12:53 -0700
                                                                                        Re: Safety of casting from 'long' to 'int' kalevi@kolttonen.fi (Kalevi Kolttonen) - 2026-05-10 20:15 +0000
                                                                                          Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-10 18:52 -0400
                                                                                            Re: Safety of casting from 'long' to 'int' kalevi@kolttonen.fi (Kalevi Kolttonen) - 2026-05-10 23:19 +0000
                                                                                              Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-10 18:37 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-11 09:29 +0200
                                                                                          Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-11 00:26 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-10 20:36 -0400
                                                                                          Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-10 18:19 -0700
                                                                                          Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-11 14:45 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-11 08:10 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-11 15:58 +0000
                                                                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 18:21 +0000
                                                                                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 11:46 -0700
                                                                                                    Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 19:34 +0000
                                                                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 14:23 -0700
                                                                                                Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-11 23:57 +0300
                                                                                                Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-12 20:47 -0700
                                                                                                  Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 11:02 +0200
                                                                                                    Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 15:20 +0000
                                                                                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-14 03:14 +0200
                                                                                                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-14 03:50 +0200
                                                                                                    Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-13 13:11 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 11:25 -0700
                                                                                                Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-13 04:07 -0700
                                                                                                  Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 13:35 +0200
                                                                                                    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-13 13:54 +0200
                                                                                                    Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-13 11:00 -0700
                                                                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-13 11:39 -0700
                                                                                                        Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-13 15:42 -0700
                                                                                                          Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-14 03:46 +0200
                                                                                                            Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-14 06:07 -0700
                                                                                                          Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-14 00:38 -0700
                                                                                                            Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-14 00:39 -0700
                                                                                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-14 03:39 +0200
                                                                                                        Re: Safety of casting from 'long' to 'int' tTh <tth@none.invalid> - 2026-05-14 07:47 +0200
                                                                                                          Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-14 09:54 +0200
                                                                                                        Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-14 06:25 -0700
                                                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-14 17:49 +0000
                                                                                                            Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-14 16:33 -0700
                                                                                                              Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-15 03:31 +0200
                                                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-15 01:56 +0000
                                                                                                                Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-14 19:12 -0700
                                                                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-15 02:20 +0000
                                                                                                                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-15 13:44 +0200
                                                                                                              Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-31 14:43 -0700
                                                                                                        Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-14 15:26 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 11:22 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-11 19:20 +0000
                                                                                            Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-11 13:51 -0700
                                                                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-09 15:32 -0700
                                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 01:35 +0000
                                                                                    Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-10 06:19 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 12:52 +0000
                                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 11:49 +0100
                                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 12:59 +0000
                                                                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-10 17:10 -0700
                                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 01:21 +0100
                                                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-10 17:42 -0700
                                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 02:33 +0100
                                                                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-10 18:43 -0700
                                                                                    Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-10 20:30 -0400
                                                                                      Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-11 15:17 +0000
                                                                                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-11 18:12 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-11 23:48 +0300
                                                                                        Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-12 10:42 +0200
                                                                                        Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-12 07:12 -0700
                                                                                          Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-12 22:21 +0300
                                                                                            Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-12 19:19 -0700
                                                                                        Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-13 11:17 -0400
                                                                          Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-09 05:50 +0000
                                                                            Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-09 08:39 +0200
                                                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-09 13:10 +0100
                                                                              Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-09 18:04 +0000
                                                                                Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-10 14:49 +0000
                                                                              Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-10 00:25 +0200
                                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 00:16 +0100
                                                                                  Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-10 06:39 +0200
                                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 13:22 +0100
                                                                                      Alternatives to C (was Re: Safety of casting from 'long' to 'int') cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 13:05 +0000
                                                                                        Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Bart <bc@freeuk.com> - 2026-05-12 02:28 +0100
                                                                                          Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 18:37 -0700
                                                                                            Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Bart <bc@freeuk.com> - 2026-05-12 22:32 +0100
                                                                                              Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') John Ames <commodorejohn@gmail.com> - 2026-05-12 15:28 -0700
                                                                                                Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 02:49 +0200
                                                                                              Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-12 15:35 -0700
                                                                                                Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 03:26 +0200
                                                                                                  Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Bart <bc@freeuk.com> - 2026-05-13 12:32 +0100
                                                                                                    Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 14:42 +0200
                                                                                                    Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-13 12:28 -0700
                                                                                                      Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-14 04:30 +0200
                                                                                                        Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-13 19:58 -0700
                                                                                                          Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-14 09:40 +0200
                                                                                                          Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Bart <bc@freeuk.com> - 2026-05-14 12:03 +0100
                                                                                                            Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-14 16:51 -0700
                                                                                                  Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 14:57 +0000
                                                                                                    Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-13 12:35 -0700
                                                                                                      Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 20:18 +0000
                                                                                                        Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') scott@slp53.sl.home (Scott Lurndal) - 2026-05-13 21:46 +0000
                                                                                                          Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-13 15:45 -0700
                                                                                                            Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-14 10:53 -0700
                                                                                                              Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-14 16:59 -0700
                                                                                                            Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') scott@slp53.sl.home (Scott Lurndal) - 2026-05-15 15:45 +0000
                                                                                                              Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-15 20:17 +0200
                                                                                                              Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-15 12:47 -0700
                                                                                                                Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-15 13:15 -0700
                                                                                                                Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') scott@slp53.sl.home (Scott Lurndal) - 2026-05-15 22:16 +0000
                                                                                                          Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Bart <bc@freeuk.com> - 2026-05-15 21:52 +0100
                                                                                                      Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-14 04:48 +0200
                                                                                                    Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') David Brown <david.brown@hesbynett.no> - 2026-05-14 12:08 +0200
                                                                                                      Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-14 05:15 -0700
                                                                                                      Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-15 03:51 +0200
                                                                                                  Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') scott@slp53.sl.home (Scott Lurndal) - 2026-05-13 15:12 +0000
                                                                                                    Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-14 04:56 +0200
                                                                                                      Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') scott@slp53.sl.home (Scott Lurndal) - 2026-05-14 15:19 +0000
                                                                                                        Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-14 09:55 -0700
                                                                                                          Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') scott@slp53.sl.home (Scott Lurndal) - 2026-05-14 17:32 +0000
                                                                                                  Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-13 16:33 -0700
                                                                                                Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Adam Sampson <ats@offog.org> - 2026-05-15 11:55 +0100
                                                                                                  Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-15 11:27 +0000
                                                                                                  Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Bart <bc@freeuk.com> - 2026-05-15 12:43 +0100
                                                                                              Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') scott@slp53.sl.home (Scott Lurndal) - 2026-05-12 23:21 +0000
                                                                                                Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-13 02:53 +0200
                                                                                                  Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') scott@slp53.sl.home (Scott Lurndal) - 2026-05-13 14:15 +0000
                                                                                                    Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-13 12:30 -0700
                                                                                                      Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 20:20 +0000
                                                                                          Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-12 02:40 +0000
                                                                                            Re: Alternatives to C (was Re: Safety of casting from 'long' to 'int') Bart <bc@freeuk.com> - 2026-05-12 15:11 +0100
                                                                                      Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-10 15:18 +0000
                                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 01:17 +0100
                                                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-09 15:47 -0700
                                                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-09 23:33 +0000
                                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 00:45 +0100
                                                                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-09 17:33 -0700
                                                                                    Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-10 03:46 +0300
                                                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-09 17:54 -0700
                                                                                        Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-10 15:46 +0000
                                                                                          Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-10 13:21 -0700
                                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 02:26 +0100
                                                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-09 19:01 -0700
                                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 12:06 +0100
                                                                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-10 16:11 -0700
                                                                                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 00:58 +0100
                                                                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-10 17:31 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-11 01:44 +0000
                                                                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 03:09 +0000
                                                                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 12:15 +0100
                                                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 15:19 +0000
                                                                                                  Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-11 19:06 +0000
                                                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 21:29 +0100
                                                                                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-19 10:12 +0200
                                                                                                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-19 10:40 +0200
                                                                                                    Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-11 18:32 -0700
                                                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-12 03:44 +0000
                                                                                                        Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-11 20:53 -0700
                                                                                                          Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-12 14:27 +0000
                                                                                                            Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-13 11:37 -0700
                                                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 20:28 +0000
                                                                                              Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 02:18 +0000
                                                                                                Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-10 19:48 -0700
                                                                                                  Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 12:39 +0100
                                                                                                    Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 11:12 -0700
                                                                                                      Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 19:30 +0100
                                                                                                        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 11:34 -0700
                                                                                                        Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 19:42 +0000
                                                                                              Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-10 21:21 -0700
                                                                                                Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-11 07:43 +0200
                                                                                                  Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-11 13:57 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-11 09:46 +0200
                                                                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-10 07:09 +0200
                                                                                  Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-10 07:00 +0200
                                                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-10 12:44 +0100
                                                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-10 16:45 -0700
                                                                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-11 07:58 +0200
                                                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 13:55 +0100
                                                                                  Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-10 14:34 +0000
                                                                                  Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-10 15:42 +0000
                                                                                    Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-10 13:23 -0700
                                                                                    Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-10 21:28 -0700
                                                                                      Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 12:53 +0100
                                                                                        Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 13:54 +0000
                                                                                          Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 16:48 +0100
                                                                                            Re: Safety of casting from 'long' to 'int' tTh <tth@none.invalid> - 2026-05-11 18:26 +0200
                                                                                            Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 11:20 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 19:38 +0100
                                                                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 18:50 +0000
                                                                                                Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 11:58 -0700
                                                                                            Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 18:44 +0000
                                                                                              Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-11 19:28 +0000
                                                                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 19:41 +0000
                                                                                                Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 14:16 -0700
                                                                                                  Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 23:05 +0100
                                                                                                    Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-11 16:13 -0700
                                                                                              Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 21:03 +0100
                                                                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-11 20:08 +0000
                                                                                        Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-11 15:25 +0000
                                                                                          Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-11 17:03 +0100
                                                                              Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-09 21:25 -0400
                                                                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-09 07:31 +0200
                                                                    Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-06 21:45 -0700
                                                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-07 09:30 +0200
                                                                        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-07 03:44 -0700
                                                                          Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-07 18:03 +0200
                                                                      Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-07 14:45 +0000
                                                    Re: Safety of casting from 'long' to 'int' tTh <tth@none.invalid> - 2026-05-05 22:27 +0200
                                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-05 16:09 -0700
                                          Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-05 16:52 -0400
                                  Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-03 19:26 +0000
                                    Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-03 20:33 -0700
                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-03 15:05 -0700
                                  Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-04 15:09 -0400
                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-03 14:58 -0700
                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-04 00:34 +0100
                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-03 17:07 -0700
                                  Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-04 01:23 +0000
                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-04 14:38 +0100
                                      Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 17:41 +0200
                                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-05 02:59 +0200
                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 19:35 -0700
                                            Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-05 14:54 +0200
                                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 16:03 +0200
                                                Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-06 05:18 +0200
                                              Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-05 09:53 -0700
                                                Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-06 05:22 +0200
                                                  Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-08 07:40 -0700
                                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 09:41 +0200
                                      Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-05 00:44 +0000
                                  Re: Safety of casting from 'long' to 'int' tTh <tth@none.invalid> - 2026-05-04 05:47 +0200
                                  Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 08:59 +0200
                                    Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-04 14:31 +0000
                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 14:40 -0700
                                        Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-04 14:42 -0700
                                        Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 10:00 +0200
                                  Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 10:07 +0200
                                  Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-04 15:05 -0400
                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-04 21:04 +0100
                                      Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-04 20:52 +0000
                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-04 21:56 +0100
                                        Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-05 01:12 +0000
                                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 10:16 +0200
                                            Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-05 11:11 +0200
                                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 11:25 +0200
                                                Re: Safety of casting from 'long' to 'int' Richard Harnden <richard.nospam@gmail.invalid> - 2026-05-05 11:12 +0100
                                                  Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 14:12 +0200
                                                  Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-05 16:43 -0400
                                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-05 11:41 +0100
                                                  Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 14:31 +0200
                                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-05 14:26 +0100
                                                      Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 16:36 +0200
                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-05 17:21 +0100
                                                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 19:19 +0200
                                                        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-05 15:25 -0700
                                                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-06 09:03 +0200
                                                        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-05 16:00 -0700
                                                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-06 09:20 +0200
                                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-05 15:21 -0700
                                                        Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-06 12:20 +0200
                                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-06 03:36 -0700
                                                            Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-06 12:49 +0200
                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-06 12:00 +0100
                                                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-06 14:34 +0200
                                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-06 12:23 -0700
                                                            [meta] Optimizing posting and communication (was: something about UB) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-06 22:15 +0200
                                                              Re: [meta] Optimizing posting and communication (was: something about UB) cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-06 22:42 +0000
                                                                Re: [meta] Optimizing posting and communication Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-06 17:01 -0700
                                                        Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-06 12:32 +0100
                                                          Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-06 14:52 +0200
                                            Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-05 13:27 +0000
                                              Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 16:45 +0200
                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-05 16:22 -0700
                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-07 01:39 +0000
                                                  Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-06 21:41 -0700
                                                    Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 18:26 +0000
                                                      Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-08 15:41 -0700
                                                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-06 23:22 -0700
                                                    Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 19:06 +0000
                                                      Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-08 13:22 -0700
                                                        Re: Safety of casting from 'long' to 'int' "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-05-08 13:27 -0700
                                                      Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-12 22:31 -0700
                                                        Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 15:47 +0000
                                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-13 11:59 -0700
                                                            Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 20:45 +0000
                                                            Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-13 15:28 -0700
                                                          Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-13 15:33 -0700
                                                            Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-13 23:56 +0000
                                                  Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-07 10:33 +0200
                                                  Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-07 18:08 -0400
                                                    Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 16:13 +0000
                                                      Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-08 16:42 +0000
                                                        Re: Safety of casting from 'long' to 'int' Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-05-08 16:57 +0000
                                                          Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-08 17:51 -0400
                                                            Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 23:03 +0000
                                                      Re: Safety of casting from 'long' to 'int' scott@slp53.sl.home (Scott Lurndal) - 2026-05-08 17:01 +0000
                                                      Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-09 08:37 -0700
                                                        Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-09 22:15 +0000
                                                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-09 16:24 -0700
                                          Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-05 06:41 -0700
                                            Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-05 18:06 +0000
                                              Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-05 16:26 -0700
                                              Re: Safety of casting from 'long' to 'int' Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-05-08 15:33 -0700
                                                Re: Safety of casting from 'long' to 'int' cross@spitfire.i.gajendra.net (Dan Cross) - 2026-05-08 23:34 +0000
                                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 15:05 -0700
                                      Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-04 18:54 -0400
                                        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 16:21 -0700
                                          Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-05 16:48 -0400
                                      Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-05 00:39 +0000
                                        Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-05 03:23 +0200
                            Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 18:03 +0100
                              Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-03 20:24 +0300
                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 19:15 +0100
                                  Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-03 20:59 +0200
                                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 20:38 +0100
                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 09:07 +0200
                                      Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 10:23 +0200
                                  Re: Safety of casting from 'long' to 'int' Michael S <already5chosen@yahoo.com> - 2026-05-04 10:45 +0300
                              Re: Safety of casting from 'long' to 'int' antispam@fricas.org (Waldek Hebisch) - 2026-05-03 20:54 +0000
                                Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 23:27 +0100
                                  Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 09:18 +0200
                              Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 09:03 +0200
                                Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 01:07 -0700
                                  Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 10:37 +0200
                                    Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 02:37 -0700
                                      Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 13:44 +0200
                                  Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 10:58 +0200
                                    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 11:34 +0200
                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 12:12 +0200
                                        Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 13:46 +0200
                                    Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-04 02:42 -0700
                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 12:17 +0200
                                        Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 13:52 +0200
                              Re: Safety of casting from 'long' to 'int' James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-05-04 14:32 -0400
                            Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 09:48 +0200
                              Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 11:12 +0200
                                Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 11:39 +0200
                                  Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 12:08 +0200
                                    Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-04 14:00 +0200
                                      Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-04 23:54 +0200
                                        Re: Safety of casting from 'long' to 'int' David Brown <david.brown@hesbynett.no> - 2026-05-05 10:22 +0200
                        Re: Safety of casting from 'long' to 'int' dave_thompson_2@comcast.net - 2026-06-06 17:49 -0400
                  Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-02 14:57 -0700
                    Re: Safety of casting from 'long' to 'int' Bart <bc@freeuk.com> - 2026-05-03 00:14 +0100
                      Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-02 16:55 -0700
                        Re: Safety of casting from 'long' to 'int' wij <wyniijj5@gmail.com> - 2026-05-03 08:04 +0800
                          Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-02 17:16 -0700
                            Re: Safety of casting from 'long' to 'int' wij <wyniijj5@gmail.com> - 2026-05-03 08:29 +0800
                Re: Safety of casting from 'long' to 'int' Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-05-02 16:51 +0200
    Re: Safety of casting from 'long' to 'int' Bonita Montero <Bonita.Montero@gmail.com> - 2026-05-10 18:27 +0200
      Re: Safety of casting from 'long' to 'int' kalevi@kolttonen.fi (Kalevi Kolttonen) - 2026-05-10 16:58 +0000
        Re: Safety of casting from 'long' to 'int' Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-10 17:04 -0700
        Re: Safety of casting from 'long' to 'int' Bonita Montero <Bonita.Montero@gmail.com> - 2026-05-11 18:23 +0200

Page 11 of 37 — ← Prev page 1 … 9 10 [11] 12 13 … 37  Next page →


#398509

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2026-05-08 09:58 -0700
Message-ID<10tl4o5$310pv$1@kst.eternal-september.org>
In reply to#398484
Bart <bc@freeuk.com> writes:
> On 08/05/2026 00:11, Keith Thompson wrote:
[...]
>> Concretely, let's say it's this program:
>>
>> #include <stdio.h>
>> #include <limits.h>
>> int main(void) {
>>      int n = INT_MAX;
>>      n ++;
>>      printf("%d\n", n);
>> }

[...]

> The question I'm asking really is whether such a program is valid C,
> considered in isolation from whatever means is used to translate and
> execute it.

That's not the question you asked before.  If that's what you meant,
I wasted a great deal of time answering the question you asked,
rather than the one you meant, which was about "undefined behavior".

If you have a question, I urge you to take the time to phrase it
clearly before you post it.  Think about whether a correct answer
to your question would be useful to you.  If not, don't waste our
time by asking it.

I don't know what you mean by "valid C", and I won't try to guess.
The C standard doesn't define that term.  I can think of several
possible meanings for it.

The program above is a "conforming program", but not a "strictly
conforming program", as those terms are defined by the C standard.
But you don't care how the C standard defines technical terms,
so that information will be of no use to you.

> The latter may employ '-ftrapv' to ensure predictable behaviour.

As you posted later, you meant "-fwrapv".

> Or whether a program has to be coupled with a specific implentation
> and a set of options before the question can be satisfied.
> 
> The actual scenerio I had in mind was:
>
> * There exists a program in another language
> * That language expects signed overflow to work like unsigned overflow
> * It is transpiled to C code
> * Signed overflow may or may not occur in the execution, and it may or
>   may not be due to a bug in the original program
>
> So, is that general C file, before it is translated and executed, valid C?

That depends on what "valid C" means.  It's not a term defined by
the C standard.

> If it is compiled with '-fwrapv', can it be assumed to not have UB if
> overflow were to occur?
>
> If it were compiled without '-fwrapv', can it be assumed that UB
> occurs if such overflow happens?

That's a really misleading way of putting it.  The evaluation of
n++ has "undefined behavior", as that term is defined by the ISO C
standard, for reasons I will not attempt to explain to you yet again.
That fact does not depend on which compiler and options you're using.
It is implied by the wording of the ISO C standard.

You've said that you don't care how the standard defines "undefined
behavior", and you stubbornly refuse to even read the definition.
Given that, I cannot meaningfully answer any question you ask about
UB (undefined behavior).

> But since signed overflow may or may not occur (it depends on runtime
> inputs), I assume you can't tell from the static C code whether the
> program is invalid or not (this is not about actual bugs).

I don't know what you mean by "invalid".

The C standard defines several technical terms regarding conformance,
behavior, defined or unspecified values.  It specifies required
diagnostics for certain rule violations.  It specifies just one
case in which a translation unit must be rejected.

You refuse to learn the details, so I can't help you with that.

> In short, if UB was to happen in the running C program, is the only
> thing that's wrong, and needs changing, is that '-fwrapv' flag?

I don't know.  What is your goal?

If you're trying to solve a problem, and you want advice about how to
solve that problem, ask that.  If you mention "undefined behavior",
I can't help you until and unless you change your mind about being
willing to know what that means.  And I cannot answer any questions
about whether something is "valid C" without knowing what you mean
by that.

If I were to tell you "Yes, it's valid C" or "No, it's not valid
C", I have no idea what use that would be to you.  I think you have
something you're trying to do, but you're not actually asked how
to do it.

If you have questions about the behavior of gcc's "-fwrapv" option,
a gcc forum is likely to be a better place to ask them.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

[toc] | [prev] | [next] | [standalone]


#398525

FromBart <bc@freeuk.com>
Date2026-05-08 21:04 +0100
Message-ID<10tlfk5$35rck$1@dont-email.me>
In reply to#398509
On 08/05/2026 17:58, Keith Thompson wrote:
> Bart <bc@freeuk.com> writes:
>> On 08/05/2026 00:11, Keith Thompson wrote:
> [...]
>>> Concretely, let's say it's this program:
>>>
>>> #include <stdio.h>
>>> #include <limits.h>
>>> int main(void) {
>>>       int n = INT_MAX;
>>>       n ++;
>>>       printf("%d\n", n);
>>> }
> 
> [...]
> 
>> The question I'm asking really is whether such a program is valid C,
>> considered in isolation from whatever means is used to translate and
>> execute it.
> 
> That's not the question you asked before.

It's the same question.

There is the same C program, executed with the same inputs, but with 
implementation A it's completely fine, and with B it isn't.

In that latter case, whose fault is it, if anybody's or anything's, and 
what can you say about the robustness of the C program?

I don't want to go to a huge amount of trouble in the C, isolating and 
adding workarounds to the 10,000 places where arithmetic on signed 
values is done, to be absolutely sure it will work on both A and B.

However, if it's too much trouble to reply, forget it.

> If you're trying to solve a problem, and you want advice about how to
> solve that problem, ask that.  If you mention "undefined behavior",
> I can't help you until and unless you change your mind about being
> willing to know what that means.  And I cannot answer any questions
> about whether something is "valid C" without knowing what you mean
> by that.
> 
> If I were to tell you "Yes, it's valid C" or "No, it's not valid
> C", I have no idea what use that would be to you.  I think you have
> something you're trying to do, but you're not actually asked how
> to do it.
> 
> If you have questions about the behavior of gcc's "-fwrapv" option,
> a gcc forum is likely to be a better place to ask them.

Yeah, forget it.

All I get is, I can forget about C's UB for signed overflow, and pretend 
it works like unsigned overflow, if I stipulate the '-fwrapv' option to 
the compiler if it has one.

If it doesn't then it will most likely work like that anyway since it 
won't be smart enough to do anything clever.

So the answer to my question is my C source must go hand-in-hand with 
some stipulations about how it is built. That alreadys happens with my 
generated code anyway as it assumes a 64-bit target.

[toc] | [prev] | [next] | [standalone]


#398526

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2026-05-08 13:15 -0700
Message-ID<10tlg8e$35pbp$1@kst.eternal-september.org>
In reply to#398525
Bart <bc@freeuk.com> writes:
> On 08/05/2026 17:58, Keith Thompson wrote:
>> Bart <bc@freeuk.com> writes:
>>> On 08/05/2026 00:11, Keith Thompson wrote:
>> [...]
>>>> Concretely, let's say it's this program:
>>>>
>>>> #include <stdio.h>
>>>> #include <limits.h>
>>>> int main(void) {
>>>>       int n = INT_MAX;
>>>>       n ++;
>>>>       printf("%d\n", n);
>>>> }
>> [...]
>> 
>>> The question I'm asking really is whether such a program is valid C,
>>> considered in isolation from whatever means is used to translate and
>>> execute it.
>>
>> That's not the question you asked before.
>
> It's the same question.

It certainly is not.

[SNIP]

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

[toc] | [prev] | [next] | [standalone]


#398563

FromJanis Papanagnou <janis_papanagnou+ng@hotmail.com>
Date2026-05-09 03:02 +0200
Message-ID<10tm12o$1l93k$3@dont-email.me>
In reply to#398525
On 2026-05-08 22:04, Bart wrote:
> [...]
> 
> There is the same C program, executed with the same inputs, but with 
> implementation A it's completely fine, and with B it isn't.

A "C" program is an "implementation" of an algorithm, so I suppose you
mean a "C" program in (system) environments A and B respectively?

I understand that question, see where you're coming from, but I don't
feel that I'm the right person to answer it... - given the mentioned
criticism about understanding (or not) UB.

> In that latter case, whose fault is it, if anybody's or anything's, and 
> what can you say about the robustness of the C program?

Well, that sloppily asked, I'd blanketly say that it's the programmer's
fault, and that the program is not robust if using constructs that can
not reliably be ported to other systems, compilers, and environments.

I would try to program my algorithms in a robust way, i.e. not relying
on "clever" hacks that exploit specific hardware's behavior, or on any
(inappropriate) assumptions of "how it should behave".

In case of "C", despite my efforts, I'd still have a strong feeling of
uncertainty, but luckily(?) I don't recall to have had experienced any
bad consequences; maybe because of my defensive coding style, or maybe
by chance. - Touch wood!

Janis

> [...]

[toc] | [prev] | [next] | [standalone]


#398577

FromDavid Brown <david.brown@hesbynett.no>
Date2026-05-09 12:54 +0200
Message-ID<10tn3pr$3istv$2@dont-email.me>
In reply to#398525
On 08/05/2026 22:04, Bart wrote:
> On 08/05/2026 17:58, Keith Thompson wrote:

>> If you have questions about the behavior of gcc's "-fwrapv" option,
>> a gcc forum is likely to be a better place to ask them.
> 
> Yeah, forget it.
> 
> All I get is, I can forget about C's UB for signed overflow, and pretend 
> it works like unsigned overflow, if I stipulate the '-fwrapv' option to 
> the compiler if it has one.
> 

If you have written code that depends on signed overflow having wrapping 
semantics, then you need to compile it with an implementation that 
guarantees those semantics.

"gcc -fwrapv" gives you that.  So does "clang -fwrapv".  So does your 
own C compiler, according to what you said previously.  I don't know of 
any other C compiler that provides such guarantees, but that does not 
exclude the possibility.

If you use a compiler that does not explicitly guarantee wrapping 
semantics, then you are relying on luck to get compiled code that does 
what you want it to do.  Maybe that's fine for your needs, though it 
strikes me as strange given that it is rarely particularly difficult to 
avoid a risk of signed arithmetic overflow in practice.

> If it doesn't then it will most likely work like that anyway since it 
> won't be smart enough to do anything clever.
> 
> So the answer to my question is my C source must go hand-in-hand with 
> some stipulations about how it is built. That alreadys happens with my 
> generated code anyway as it assumes a 64-bit target.
> 

Code rarely needs to be completely portable to any C implementation - 
it's fine for code to be non-portable.  But I recommend marking it as 
such if there could be any confusion.  (Or even better, as I've said 
before, use pragmas and pre-processor directives to make sure it is 
either compiled with known appropriate implementations, or fails to 
compile at all.)

[toc] | [prev] | [next] | [standalone]


#398549

FromTim Rentsch <tr.17687@z991.linuxsc.com>
Date2026-05-08 15:51 -0700
Message-ID<86zf29seg2.fsf@linuxsc.com>
In reply to#398484
Bart <bc@freeuk.com> writes:

> On 08/05/2026 00:11, Keith Thompson wrote:
>
>> Bart <bc@freeuk.com> writes:
>>
>>> On 07/05/2026 14:48, David Brown wrote:
>>>
>>>> On 07/05/2026 13:48, Bart wrote:
>>
>> [...]
>>
>>>>> Meanwhile I will probably add '-fwrapv' to 'fno-strict-aliasing'
>>>>> in my script for compiling generated C when using gcc**.
>>>>
>>>> It has taken a long, /long/ time to get you to understand that this
>>>> is appropriate for they way you want to work.
>>>
>>> So, how would you describe overflow behaviour with that option in
>>> place:  UB, implementation defined, erroneous, unspecified, or other?
>>>
>>> If not UB, then does it still come under the 'UB' umbrella, or am I
>>> using a new dialect where this particular UB doesn't exist?
>>>
>>> What happens when someone runs my program without the options
>>> stipulated?  If it goes wrong, who's fault is that?
>>
>> This is a fairly long response, and there isn't any new information
>> in it.  Readers won't miss much by skipping it.
>>
>> You've asked several questions.  I'm going to answer them.  I'm going
>> to pretend for the moment that you actually care about the answers.
>> I might tell you some things you don't currently know, and I'm
>> going to pretend that this might be a learning experience for you.
>>
>> I don't recall ever seeing you react positively to someone here
>> giving an accurate answer to a question you've asked.  I don't think
>> I've ever seen you learn something and indicate that you benefited
>> from it.  I've often seen you express anger and contempt about
>> accurate information that people have given you.  You're asking
>> now about undefined behavior, implementation-defined behavior, and
>> unspecified behavior, but you've explicitly said that you refuse
>> to read the C standard's definitions of those terms, so I can't
>> imagine how my answer is going to be useful to you.  I'm not going
>> to say anything that I haven't said here before, but someone might
>> learn something from it or find it interesting.
>>
>> Premise:  You have a program that contains an instance of signed
>> integer overflow, which is undefined behavior in standard C.
>> You compile the program with a compiler-specific option that's
>> documented to guarantee 2's-complement wraparound semantics for
>> signed integer overflow.
>>
>> Concretely, let's say it's this program:
>>
>> #include <stdio.h>
>> #include <limits.h>
>> int main(void) {
>>      int n = INT_MAX;
>>      n ++;
>>      printf("%d\n", n);
>> }
>>
>> It's still "undefined behavior" as that technical term is defined
>> by the C standard.  No compiler option can change the wording
>> of the C standard.  If you read that definition, I believe you
>> could easily understand why that's the case.  The technical term
>> "undefined behavior" does not mean just "behavior that is not
>> defined by anything".  Since you don't care, I won't explain yet
>> again what it does mean.
>>
>> An implementation that defines for itself the behavior of signed
>> overflow could be fully conforming.  It is not a violation of
>> the standard to behave in some particular way in the presence of
>> undefined behavior -- something you could have figured out if you
>> read the standard's definition.
>>
>> If someone compiles and runs the program without the options you
>> refer to, it's still "undefined behavior" as that term is defined
>> by the standard.  What the code will actually do depends on the
>> implementation (no, that doesn't mean it's "implementation-defined")
>> and on other factors.  It's entirely possible that it will behave
>> the same way as if the option weren't used.  (As it happens, that's
>> the behavior I saw just now on my system.)
>>
>> You ask whose fault it is if it "goes wrong".
>
> The question I'm asking really is whether such a program is valid C,
> considered in isolation from whatever means is used to translate and
> execute it.
>
> The latter may employ '-ftrapv' to ensure predictable behaviour.
>
> Or whether a program has to be coupled with a specific implentation
> and a set of options before the question can be satisfied.
>
>
> The actual scenerio I had in mind was:
>
> * There exists a program in another language
> * That language expects signed overflow to work like unsigned overflow
> * It is transpiled to C code
> * Signed overflow may or may not occur in the execution, and it may or
> may not be due to a bug in the original program
>
> So, is that general C file, before it is translated and executed,
> valid C?
>
> If it is compiled with '-fwrapv', can it be assumed to not have UB if
> overflow were to occur?
>
> If it were compiled without '-fwrapv', can it be assumed that UB
> occurs if such overflow happens?
>
> But since signed overflow may or may not occur (it depends on runtime
> inputs), I assume you can't tell from the static C code whether the
> program is invalid or not (this is not about actual bugs).
>
> In short, if UB was to happen in the running C program, is the only
> thing that's wrong, and needs changing, is that '-fwrapv' flag?

Is your goal to solve a problem, or to offer a complaint about C?

If your goal is to solve a problem, it should be easy enough to
produce code that works around the potential undefined behavior,
since you are generating the C code that gets compiled.  See for
example my recent posting with the two functions safely_add() and
safely_multiply().

[toc] | [prev] | [next] | [standalone]


#398457

FromJanis Papanagnou <janis_papanagnou+ng@hotmail.com>
Date2026-05-07 19:02 +0200
Message-ID<10tigio$1l93l$2@dont-email.me>
In reply to#398444
On 2026-05-07 15:48, David Brown wrote:
> On 07/05/2026 13:48, Bart wrote:
>>
>> My entire point is that this should be intuitive, somebody should be 
>> able to write "a * b" without reading a 700-page reference first.
> 
> People can, and do, write C code without reading the standards. 

Indeed. - And I (meanwhile) think this is the crucial difference
to all other languages I learned. Usually a good textbook suffices
to write correct programs without running into surprising behavior.

NB: As opposed to other people I've never considered the K&R bible
a good book; for every other statement it gave it created one more
question that just wasn't answered, so I remember. And the caveats
like those described in the recently posted Wang-paper just aren't
addressed. This is actually very unlike other languages I learned,
were simple coding situations either work as documented or lead to
an error. - I said in the past, that good textbooks should always
suffice to program in a language, and that standard documents are
necessary primarily for compiler writers. For "C" I meanwhile think
that this doesn't hold. To not run into pitfalls you need to know
things that are described in (the later [to K&R] appearing) standard
documents. And here we reach the point where I refer to Bart's above
quoted statement.

> It's as 
> simple as learning "signed integer overflow is undefined behaviour, 
> which you should avoid - make sure your calculations do not overflow". 
> In order to use signed arithmetic safely, efficiently and correctly in C 
> programming, people need to understand one single sentence.  And that 
> sentence is entirely intuitive - it's a bad idea to try to do something 
> that can't possibly give you a sensible answer.

Yes.

Janis

[toc] | [prev] | [next] | [standalone]


#398460

FromDavid Brown <david.brown@hesbynett.no>
Date2026-05-07 20:56 +0200
Message-ID<10tin8s$2a8lp$1@dont-email.me>
In reply to#398457
On 07/05/2026 19:02, Janis Papanagnou wrote:
> On 2026-05-07 15:48, David Brown wrote:
>> On 07/05/2026 13:48, Bart wrote:
>>>
>>> My entire point is that this should be intuitive, somebody should be 
>>> able to write "a * b" without reading a 700-page reference first.
>>
>> People can, and do, write C code without reading the standards. 
> 
> Indeed. - And I (meanwhile) think this is the crucial difference
> to all other languages I learned. Usually a good textbook suffices
> to write correct programs without running into surprising behavior.
> 

I obviously can't comment on /your/ experiences, but I think most of the 
languages I have learned, I have learned from books (and then later, web 
based references and tutorials).

Discounting simple bugs, typos, etc., - mistakes anyone can make in any 
language - I don't remember encountering problems in my own code from 
UB, and I worked in C for a long time before I ever looked at a copy of 
the standards.  I don't write UB in my code simply because I don't 
knowingly write code that has unexpected behaviour.  C really does not 
have much in the way of "surprising" behaviour, as I see it - it only 
surprises people who make unwarranted assumptions about what they think 
it should mean.

And I really cannot say that this is any different in principle from 
Pascal, BASIC, assembly, Python, or any other language.

[toc] | [prev] | [next] | [standalone]


#398472

Fromcross@spitfire.i.gajendra.net (Dan Cross)
Date2026-05-07 22:08 +0000
Message-ID<10tj2hk$bbf$1@reader1.panix.com>
In reply to#398457
In article <10tigio$1l93l$2@dont-email.me>,
Janis Papanagnou  <janis_papanagnou+ng@hotmail.com> wrote:
>On 2026-05-07 15:48, David Brown wrote:
>> On 07/05/2026 13:48, Bart wrote:
>>>
>>> My entire point is that this should be intuitive, somebody should be 
>>> able to write "a * b" without reading a 700-page reference first.
>> 
>> People can, and do, write C code without reading the standards. 
>
>Indeed. - And I (meanwhile) think this is the crucial difference
>to all other languages I learned. Usually a good textbook suffices
>to write correct programs without running into surprising behavior.
>
>NB: As opposed to other people I've never considered the K&R bible
>a good book; for every other statement it gave it created one more
>question that just wasn't answered, so I remember.

K&R is a wonderful book for its exposition: well-written,
concise, and the prose is beautiful.  Kernighan is an amazing
writer, and Ritchie was well-known for his patience and clear
explainations.

However, it is a product of its time.  It dates from a simpler
era, when programmers were expected to use books like it is a
starting point, and subsequently gain mastery either through
careful study of the standard, or extensive practice.  (I'm
referring specifically to K&R2, of course, since the first
edition predated the first version of the standard by a decade.)
Machines were smaller and simpler, then, and so were compilers.

I am sad to say that I don't think it has aged particularly well.

The term, "undefined behavior" does not appear at all in the
index in K&R2.  With respect to overflow, it says this, in
section 2.5: "the direction of truncation of / and the sign of
the result for % are machine-dependent for negative operands, as
is the action taken on overflow or underflow."  (Oh dear.)

It does not cover topics related to concurrency, memory models,
or parallel execution on multiple independent CPUs at all.  And,
of course, it has not been updated in almost 40 years, and thus
does not cover any of the revised standards of the things that
have been introduced into the language since.

Of course, it is still an historically valuable document, if
only as a model of technical writing (in my opinion).  And type
set in troff!  I love how so many of the books published by the
folks from Bell Labs in that era had the exact commands used to
produce camera-ready proofs for the publishers on the copyright
page, and mentioned the machine they were run on (for the
curious, K&R2 was set on a VAX 8550 running 9th Edition research
Unix, using `pic|tbl|eqn|troff -ms`).

>And the caveats
>like those described in the recently posted Wang-paper just aren't
>addressed. This is actually very unlike other languages I learned,
>were simple coding situations either work as documented or lead to
>an error. - I said in the past, that good textbooks should always
>suffice to program in a language, and that standard documents are
>necessary primarily for compiler writers. For "C" I meanwhile think
>that this doesn't hold. To not run into pitfalls you need to know
>things that are described in (the later [to K&R] appearing) standard
>documents. And here we reach the point where I refer to Bart's above
>quoted statement.

A valid criticism of C is that there are a number of very subtle
and surprising edge cases, and it _is_ easy to stumble into UB
without realizing it, leading to code that behaves rather
differently than the programmer had intended.

Here is an example:

```
uint16_t mul(uint16_t a, uint16_t b) { return a * b; }
```

Does this short function ever exhibit UB?  On its face, it
_seems_ like it should not, but whether it does or not, in fact,
depends very much on a number of factors outside of the
programmer's direct control.

Consider a system where `int` is 16 bits wide and `uint16_t` is
defined as `unsigned int`.  In that case, this program is
well-defined.  It is true that there exist values a and b so
that a*b overflows an unsigned 16-bit int; but that's ok since
unsigned integer arithmetic is defined to overflow with modular
semantics.

Now consider a system where `int` is 32 bits wide, and
`uint16_t` is defined as `unsigned short`.  In that case, `a`
and `b` will both be promoted to _signed_ (32-bit) `int` prior
to the multiplication.  But there exist 16-bit unsigned values
such that a*b _will_ overflow a signed 32-bit int (for instance,
`a = b = 0xffff;`), which is UB.  Thus, if it were to do so, for
whatever obscure reason, a compiler would thus be well within
the bounds of correctness to use a saturating multiply here,
perhaps to the great surprise of the original programmer (who
may have written this for a machine where `uint16_t` _was_
`unsigned int`, but that changed when the machine was upgraded,
or even if the compiler options were changed, or whatever).

I don't think that this what the authors originally intended
(in fact, I'm quite certain it is not, based on conversations
I've had with them in the past; they very much wanted the
original semantics for integer promotion and did not like those
chosen by the ANSI committee).

K&R has not been updated in almost 40 years, and 40 years ago,
it reflected a very different language, and moreover, reflected
the spirit intended by the original authors.. But, regardless of
the original intent, that is not the language we have _today_.

I just picked my copy up off the shelf.  The pages are yellowed
and the corners heavily dogeared; but flipping through it is
like seeing an old friend.  Then I put it back on the shelf: you
can never go home again.

	- Dan C.

[toc] | [prev] | [next] | [standalone]


#398480

FromDavid Brown <david.brown@hesbynett.no>
Date2026-05-08 09:54 +0200
Message-ID<10tk4sg$2l19a$2@dont-email.me>
In reply to#398472
On 08/05/2026 00:08, Dan Cross wrote:
> In article <10tigio$1l93l$2@dont-email.me>,
> Janis Papanagnou  <janis_papanagnou+ng@hotmail.com> wrote:
>> On 2026-05-07 15:48, David Brown wrote:
>>> On 07/05/2026 13:48, Bart wrote:
>>>>
>>>> My entire point is that this should be intuitive, somebody should be
>>>> able to write "a * b" without reading a 700-page reference first.
>>>
>>> People can, and do, write C code without reading the standards.
>>
>> Indeed. - And I (meanwhile) think this is the crucial difference
>> to all other languages I learned. Usually a good textbook suffices
>> to write correct programs without running into surprising behavior.
>>
>> NB: As opposed to other people I've never considered the K&R bible
>> a good book; for every other statement it gave it created one more
>> question that just wasn't answered, so I remember.
> 
> K&R is a wonderful book for its exposition: well-written,
> concise, and the prose is beautiful.  Kernighan is an amazing
> writer, and Ritchie was well-known for his patience and clear
> explainations.
> 
> However, it is a product of its time.  It dates from a simpler
> era, when programmers were expected to use books like it is a
> starting point, and subsequently gain mastery either through
> careful study of the standard, or extensive practice.  (I'm
> referring specifically to K&R2, of course, since the first
> edition predated the first version of the standard by a decade.)
> Machines were smaller and simpler, then, and so were compilers.
> 
> I am sad to say that I don't think it has aged particularly well.

I like the way you put that.  Sometimes people have a tendency to put 
too much reverence on particular texts - such as imagining that K&R says 
all that needs to be said about C, and treating any modern tool, text, 
standard or program that diverges from it as some kind of heresy, or 
"not following the spirit of C".  Languages evolve - tools evolve, 
programs evolve, standards evolve, requirements evolve.  K&R was a 
milestone in the history of programming languages, and a model for 
technical writing in its field, but C today is not C of fifty years ago.

<snip nice history points>

>> And the caveats
>> like those described in the recently posted Wang-paper just aren't
>> addressed. This is actually very unlike other languages I learned,
>> were simple coding situations either work as documented or lead to
>> an error. - I said in the past, that good textbooks should always
>> suffice to program in a language, and that standard documents are
>> necessary primarily for compiler writers. For "C" I meanwhile think
>> that this doesn't hold. To not run into pitfalls you need to know
>> things that are described in (the later [to K&R] appearing) standard
>> documents. And here we reach the point where I refer to Bart's above
>> quoted statement.
> 
> A valid criticism of C is that there are a number of very subtle
> and surprising edge cases, and it _is_ easy to stumble into UB
> without realizing it, leading to code that behaves rather
> differently than the programmer had intended.
> 
> Here is an example:
> 
> ```
> uint16_t mul(uint16_t a, uint16_t b) { return a * b; }
> ```
> 
> Does this short function ever exhibit UB?  On its face, it
> _seems_ like it should not, but whether it does or not, in fact,
> depends very much on a number of factors outside of the
> programmer's direct control.
> 
> Consider a system where `int` is 16 bits wide and `uint16_t` is
> defined as `unsigned int`.  In that case, this program is
> well-defined.  It is true that there exist values a and b so
> that a*b overflows an unsigned 16-bit int; but that's ok since
> unsigned integer arithmetic is defined to overflow with modular
> semantics.
> 
> Now consider a system where `int` is 32 bits wide, and
> `uint16_t` is defined as `unsigned short`.  In that case, `a`
> and `b` will both be promoted to _signed_ (32-bit) `int` prior
> to the multiplication.  But there exist 16-bit unsigned values
> such that a*b _will_ overflow a signed 32-bit int (for instance,
> `a = b = 0xffff;`), which is UB.  Thus, if it were to do so, for
> whatever obscure reason, a compiler would thus be well within
> the bounds of correctness to use a saturating multiply here,
> perhaps to the great surprise of the original programmer (who
> may have written this for a machine where `uint16_t` _was_
> `unsigned int`, but that changed when the machine was upgraded,
> or even if the compiler options were changed, or whatever).
> 

It is unfortunate that this situation may be UB.  I personally think 
"unsigned short" should promote to "unsigned int", not "int" - 
promotions should be signedness preserving.  I don't like the "promote 
to int" at all.  But opinions don't change the standards, and I suppose 
there are historical reasons for the rules that were made here.

But I am not sure I agree that such cases are "easy to stumble into". 
How often would code like that be written, where overflowing the 
uint16_t would be correct behaviour in the code on a 16-bit int system? 
It is certainly possible, but it is perhaps more likely that cases of 
overflow in the 16-bit system were also bugs in the code - moving the 
code to 32-bit systems could give different undesirable effects from the 
bug.  It could also happen to remove the effects of the bug by holding 
results in 32-bit registers and leading to correct results in later 
calculations - UB can work either way.

Certainly, however, the fact that this expression could contain UB would 
surprise many C programmers.

> I don't think that this what the authors originally intended
> (in fact, I'm quite certain it is not, based on conversations
> I've had with them in the past; they very much wanted the
> original semantics for integer promotion and did not like those
> chosen by the ANSI committee).
> 
> K&R has not been updated in almost 40 years, and 40 years ago,
> it reflected a very different language, and moreover, reflected
> the spirit intended by the original authors.. But, regardless of
> the original intent, that is not the language we have _today_.
> 
> I just picked my copy up off the shelf.  The pages are yellowed
> and the corners heavily dogeared; but flipping through it is
> like seeing an old friend.  Then I put it back on the shelf: you
> can never go home again.
> 

You make that sound so sad!

(My copy is in a box in the loft somewhere.  I guess it is really one of 
these books that should always be on the bookshelf, even if I never look 
at it again.)


[toc] | [prev] | [next] | [standalone]


#398481

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2026-05-08 02:07 -0700
Message-ID<10tk94h$2oc5t$1@kst.eternal-september.org>
In reply to#398480
David Brown <david.brown@hesbynett.no> writes:
[...]
> It is unfortunate that this situation may be UB.  I personally think
> "unsigned short" should promote to "unsigned int", not "int" -
> promotions should be signedness preserving.  I don't like the "promote
> to int" at all.  But opinions don't change the standards, and I
> suppose there are historical reasons for the rules that were made
> here.

There's some discussion of that history in the ANSI C Rationale,
<https://www.lysator.liu.se/c/rat/c2.html#3-2-1-2>.  The committee
had to choose between two existing implementation choices, *unsigned
preserving* and *value preserving*.

    The unsigned preserving rules greatly increase the number of
    situations where unsigned int confronts signed int to yield
    a questionably signed result, whereas the value preserving
    rules minimize such confrontations.  Thus, the value preserving
    rules were considered to be safer for the novice, or unwary,
    programmer.  After much discussion, the Committee decided in
    favor of value preserving rules, despite the fact that the UNIX
    C compilers had evolved in the direction of unsigned preserving.

[...]

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

[toc] | [prev] | [next] | [standalone]


#398485

FromDavid Brown <david.brown@hesbynett.no>
Date2026-05-08 12:43 +0200
Message-ID<10tkep4$2pv64$1@dont-email.me>
In reply to#398481
On 08/05/2026 11:07, Keith Thompson wrote:
> David Brown <david.brown@hesbynett.no> writes:
> [...]
>> It is unfortunate that this situation may be UB.  I personally think
>> "unsigned short" should promote to "unsigned int", not "int" -
>> promotions should be signedness preserving.  I don't like the "promote
>> to int" at all.  But opinions don't change the standards, and I
>> suppose there are historical reasons for the rules that were made
>> here.
> 
> There's some discussion of that history in the ANSI C Rationale,
> <https://www.lysator.liu.se/c/rat/c2.html#3-2-1-2>.  The committee
> had to choose between two existing implementation choices, *unsigned
> preserving* and *value preserving*.
> 
>      The unsigned preserving rules greatly increase the number of
>      situations where unsigned int confronts signed int to yield
>      a questionably signed result, whereas the value preserving
>      rules minimize such confrontations.  Thus, the value preserving
>      rules were considered to be safer for the novice, or unwary,
>      programmer.  After much discussion, the Committee decided in
>      favor of value preserving rules, despite the fact that the UNIX
>      C compilers had evolved in the direction of unsigned preserving.
> 
> [...]
> 

Yes, I have heard that argument before.  I am unconvinced that the 
"value preserving" choice actually has any real advantages.  I also 
think it is a misnomer - it implies that "unsigned preserving" would not 
preserve values, which is wrong.  Obviously the folks that made the 
decisions at the time had far more knowledge of existing code at the 
time, and how it might be affected, than I do.  It is true that 
promoting "unsigned short" to "unsigned int" is likely to lead to more 
mixed-sign operations (such as expressions mixing unsigned shorts with 
integer constants), but those could only be problematic due to the 
questionable (questioned by me, at least) decision to do "unsigned op 
int" as unsigned.


[toc] | [prev] | [next] | [standalone]


#398690

FromJames Kuyper <jameskuyper@alumni.caltech.edu>
Date2026-05-10 20:31 -0400
Message-ID<10tr80l$odia$2@dont-email.me>
In reply to#398485
On 2026-05-08 06:43, David Brown wrote:
...
> Yes, I have heard that argument before. I am unconvinced that the
> "value preserving" choice actually has any real advantages. I also
> think it is a misnomer - it implies that "unsigned preserving" would
> not preserve values, which is wrong.

Unsigned-preserving rules would convert a signed value which might be
negative to unsigned type more frequently than the value preserving
rules do. Such a conversion is not value-preserving.

[toc] | [prev] | [next] | [standalone]


#398709

FromDavid Brown <david.brown@hesbynett.no>
Date2026-05-11 08:55 +0200
Message-ID<10truhq$tqbj$1@dont-email.me>
In reply to#398690
On 11/05/2026 02:31, James Kuyper wrote:
> On 2026-05-08 06:43, David Brown wrote:
> ...
>> Yes, I have heard that argument before. I am unconvinced that the
>> "value preserving" choice actually has any real advantages. I also
>> think it is a misnomer - it implies that "unsigned preserving" would
>> not preserve values, which is wrong.
> 
> Unsigned-preserving rules would convert a signed value which might be
> negative to unsigned type more frequently than the value preserving
> rules do. Such a conversion is not value-preserving.
> 

If you have a signed value, you have a signed type.  Unsigned-preserving 
rules are also signed-preserving - smaller unsigned types promote to 
bigger unsigned types, while smaller signed types promote to bigger 
signed types.  I don't think anyone ever suggested smaller signed types 
should promote to larger unsigned types.

Perhaps I am being bone-headed here and missing something obvious. 
(Given that the C committee put in a lot of effort and came to a 
different conclusion, it seems very likely that I'm missing something.)


Unsigned-preserving promotions would, AFAICS, preserve value and 
signedness :

	unsigned short -> unsigned int
	signed short -> signed int

Value-preserving promotions would preserve values too :

	unsigned short -> signed int
	signed short -> signed int

The unsigned-preserving promotions could also safely be applied even if 
short is the same size as int - that is not the case for the "always 
promote to signed int" rules.

[toc] | [prev] | [next] | [standalone]


#398739

Fromcross@spitfire.i.gajendra.net (Dan Cross)
Date2026-05-11 17:07 +0000
Message-ID<10tt2cl$5lq$1@reader1.panix.com>
In reply to#398709
In article <10truhq$tqbj$1@dont-email.me>,
David Brown  <david.brown@hesbynett.no> wrote:
>On 11/05/2026 02:31, James Kuyper wrote:
>> On 2026-05-08 06:43, David Brown wrote:
>> ...
>>> Yes, I have heard that argument before. I am unconvinced that the
>>> "value preserving" choice actually has any real advantages. I also
>>> think it is a misnomer - it implies that "unsigned preserving" would
>>> not preserve values, which is wrong.
>> 
>> Unsigned-preserving rules would convert a signed value which might be
>> negative to unsigned type more frequently than the value preserving
>> rules do. Such a conversion is not value-preserving.
>
>If you have a signed value, you have a signed type.  Unsigned-preserving 
>rules are also signed-preserving - smaller unsigned types promote to 
>bigger unsigned types, while smaller signed types promote to bigger 
>signed types.  I don't think anyone ever suggested smaller signed types 
>should promote to larger unsigned types.
>
>Perhaps I am being bone-headed here and missing something obvious. 
>(Given that the C committee put in a lot of effort and came to a 
>different conclusion, it seems very likely that I'm missing something.)

The C89 rationale document is useful here, specifically section
3.2.1.1.

It describes the tradeoffs between unsigned-preserving and
value-preserving semantics that the committeee considered when
making the decision to codify value-preserving behavior.  Of
note to this discussion is the following:

|Both schemes give the same answer in the vast majority of
|cases, and both give the same effective result in even more
|cases in implementations with twos complement arithmetic and
|quiet wraparound on signed overflow — that is, in most current
|implementations.

This suggests the committee felt that it was rare that signed
integer overflow was treated specially by compilers, and that
the equivalent of `-fwrapv` was the dominant case, and would
continue to be in the future.  (Oh, those sweet summer
children....)

The text continues with descriptions of operations where the
promotion of `unsigned char` and `unsigned short` values yield
results that the committee dubbed, "questionably signed."  That
is, places where interpreting the sign of the result is
ambiguous given the two different semantics.

They highlight that the same ambiguity arises with operations
mixing `unsigned int` and `signed int`, but state that (to use
their words), the "unsigned preserving rules greatly increase
the number of situations where `unsigned int` confronts `signed
int` to yield a questionably signed result, whereas the value
preserving rules minimize such confrontations.  Thus, the value
preserving rules were considered to be safer for the novice, or
unwary, programmer."

They do go on to note that this is a, "quiet change", at odds
with contemporary Unix compilers, and say, "This is considered
the most serious semantic change made by the Committee to a
widespread current practice."  Indeed.

>Unsigned-preserving promotions would, AFAICS, preserve value and 
>signedness :
>
>	unsigned short -> unsigned int
>	signed short -> signed int
>
>Value-preserving promotions would preserve values too :
>
>	unsigned short -> signed int
>	signed short -> signed int
>
>The unsigned-preserving promotions could also safely be applied even if 
>short is the same size as int - that is not the case for the "always 
>promote to signed int" rules.

The situations they were thinking about were things like this:

    unsigned short a = 8;
    int b = -5;
    long c = a * b;

With value-preserving semantics, `c` is 40.  On the other hand,
with unsigned-preserving semantics, assuming a 64-bit `long` and
32-bit `int`, `c` is 4294967256; logical enough, but one could
see how that might be surprising for someone unfamiliar with the
language.

What they do not appear to have antipicated are compiler
developers who would exploit the undefined nature of signed
integer overflow so aggressively that things like taking the
product of two 16-bit `unsigned short` values and assigning it
to a variable of unsigned type might yield unexpected results
(like a saturated product).

And I sincerely believe that they never thought that anyone
would use "undefined behavior" as a cudgel to justify such
behavior, even if a compiler would technically be operating
within the bounds of the standard if it did so.  Talk about
being surprising for the novice or unwary....

On balance, I agree with you that they should have chosen
unsigned-preserving semantics.  Perhaps it would have led to
more situations where `unsigned int` "confronts" a `signed int`
that is negative (like they're about to throw down outside a bar
over a spilled drink or something), but in retrospect, I think
that's relatively easy to explain, while the value preserving
semantics lead to more UB and different questions: from the
novice perspective, it is very reasonable to ask why
`(unsigned short)8 * -5 == -40` but
`(unsigned)8 * -5 == 4294967256`).

	- Dan C.

[toc] | [prev] | [next] | [standalone]


#398748

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2026-05-11 11:32 -0700
Message-ID<10tt7c3$1adha$7@kst.eternal-september.org>
In reply to#398739
cross@spitfire.i.gajendra.net (Dan Cross) writes:
[...]
> The situations they were thinking about were things like this:
>
>     unsigned short a = 8;
>     int b = -5;
>     long c = a * b;
>
> With value-preserving semantics, `c` is 40.

You mean -40.

>                                              On the other hand,
> with unsigned-preserving semantics, assuming a 64-bit `long` and
> 32-bit `int`, `c` is 4294967256; logical enough, but one could
> see how that might be surprising for someone unfamiliar with the
> language.

[...]

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

[toc] | [prev] | [next] | [standalone]


#398754

Fromcross@spitfire.i.gajendra.net (Dan Cross)
Date2026-05-11 18:56 +0000
Message-ID<10tt8og$rdm$3@reader1.panix.com>
In reply to#398748
In article <10tt7c3$1adha$7@kst.eternal-september.org>,
Keith Thompson  <Keith.S.Thompson+u@gmail.com> wrote:
>cross@spitfire.i.gajendra.net (Dan Cross) writes:
>[...]
>> The situations they were thinking about were things like this:
>>
>>     unsigned short a = 8;
>>     int b = -5;
>>     long c = a * b;
>>
>> With value-preserving semantics, `c` is 40.
>
>You mean -40.

Sigh: I need more coffee.

Yes, I do, of course.  Thanks.

	- Dan C.

[toc] | [prev] | [next] | [standalone]


#398769

FromDavid Brown <david.brown@hesbynett.no>
Date2026-05-11 22:37 +0200
Message-ID<10ttem6$1daks$2@dont-email.me>
In reply to#398739
On 11/05/2026 19:07, Dan Cross wrote:
> In article <10truhq$tqbj$1@dont-email.me>,
> David Brown  <david.brown@hesbynett.no> wrote:
>> On 11/05/2026 02:31, James Kuyper wrote:
>>> On 2026-05-08 06:43, David Brown wrote:
>>> ...
>>>> Yes, I have heard that argument before. I am unconvinced that the
>>>> "value preserving" choice actually has any real advantages. I also
>>>> think it is a misnomer - it implies that "unsigned preserving" would
>>>> not preserve values, which is wrong.
>>>
>>> Unsigned-preserving rules would convert a signed value which might be
>>> negative to unsigned type more frequently than the value preserving
>>> rules do. Such a conversion is not value-preserving.
>>
>> If you have a signed value, you have a signed type.  Unsigned-preserving
>> rules are also signed-preserving - smaller unsigned types promote to
>> bigger unsigned types, while smaller signed types promote to bigger
>> signed types.  I don't think anyone ever suggested smaller signed types
>> should promote to larger unsigned types.
>>
>> Perhaps I am being bone-headed here and missing something obvious.
>> (Given that the C committee put in a lot of effort and came to a
>> different conclusion, it seems very likely that I'm missing something.)
> 
> The C89 rationale document is useful here, specifically section
> 3.2.1.1.
> 
> It describes the tradeoffs between unsigned-preserving and
> value-preserving semantics that the committeee considered when
> making the decision to codify value-preserving behavior.  Of
> note to this discussion is the following:
> 
> |Both schemes give the same answer in the vast majority of
> |cases, and both give the same effective result in even more
> |cases in implementations with twos complement arithmetic and
> |quiet wraparound on signed overflow — that is, in most current
> |implementations.
> 

Yes, I've read the rationale here, and I'm still not convinced I 
understand their reasoning.

> This suggests the committee felt that it was rare that signed
> integer overflow was treated specially by compilers, and that
> the equivalent of `-fwrapv` was the dominant case, and would
> continue to be in the future.  (Oh, those sweet summer
> children....)
> 
> The text continues with descriptions of operations where the
> promotion of `unsigned char` and `unsigned short` values yield
> results that the committee dubbed, "questionably signed."  That
> is, places where interpreting the sign of the result is
> ambiguous given the two different semantics.
> 
> They highlight that the same ambiguity arises with operations
> mixing `unsigned int` and `signed int`, but state that (to use
> their words), the "unsigned preserving rules greatly increase
> the number of situations where `unsigned int` confronts `signed
> int` to yield a questionably signed result, whereas the value
> preserving rules minimize such confrontations.  Thus, the value
> preserving rules were considered to be safer for the novice, or
> unwary, programmer."
> 
> They do go on to note that this is a, "quiet change", at odds
> with contemporary Unix compilers, and say, "This is considered
> the most serious semantic change made by the Committee to a
> widespread current practice."  Indeed.
> 
>> Unsigned-preserving promotions would, AFAICS, preserve value and
>> signedness :
>>
>> 	unsigned short -> unsigned int
>> 	signed short -> signed int
>>
>> Value-preserving promotions would preserve values too :
>>
>> 	unsigned short -> signed int
>> 	signed short -> signed int
>>
>> The unsigned-preserving promotions could also safely be applied even if
>> short is the same size as int - that is not the case for the "always
>> promote to signed int" rules.
> 
> The situations they were thinking about were things like this:
> 
>      unsigned short a = 8;
>      int b = -5;
>      long c = a * b;
> 
> With value-preserving semantics, `c` is 40.  On the other hand,
> with unsigned-preserving semantics, assuming a 64-bit `long` and
> 32-bit `int`, `c` is 4294967256; logical enough, but one could
> see how that might be surprising for someone unfamiliar with the
> language.

Thanks for that example.

Perhaps the main "mistake" (where "mistake" means "I personally think C 
would be nicer for my own use if things were different") is that when 
mixing operations between signed int and unsigned int, the signed int is 
converted to unsigned.  I suspect that in real-world code, unsigned int 
values that are within the range of signed int are common - and that 
negative signed int values are more common than unsigned int values that 
are out of range of signed int.  Any common type here, unless it is 
larger than the two original types, is going to get some things wrong - 
but I think that converging on signed int as the common type would be 
wrong less often.  And if that had been the rule, then 
unsigned-preserving promotion would be correct too in examples like yours.

> 
> What they do not appear to have antipicated are compiler
> developers who would exploit the undefined nature of signed
> integer overflow so aggressively that things like taking the
> product of two 16-bit `unsigned short` values and assigning it
> to a variable of unsigned type might yield unexpected results
> (like a saturated product).
> 
> And I sincerely believe that they never thought that anyone
> would use "undefined behavior" as a cudgel to justify such
> behavior, even if a compiler would technically be operating
> within the bounds of the standard if it did so.  Talk about
> being surprising for the novice or unwary....
> 
> On balance, I agree with you that they should have chosen
> unsigned-preserving semantics.  Perhaps it would have led to
> more situations where `unsigned int` "confronts" a `signed int`
> that is negative (like they're about to throw down outside a bar
> over a spilled drink or something), but in retrospect, I think
> that's relatively easy to explain, while the value preserving
> semantics lead to more UB and different questions: from the
> novice perspective, it is very reasonable to ask why
> `(unsigned short)8 * -5 == -40` but
> `(unsigned)8 * -5 == 4294967256`).
> 
> 	- Dan C.
> 

[toc] | [prev] | [next] | [standalone]


#398778

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2026-05-11 14:30 -0700
Message-ID<10tthov$1eenk$3@kst.eternal-september.org>
In reply to#398769
David Brown <david.brown@hesbynett.no> writes:
[...]
> Perhaps the main "mistake" (where "mistake" means "I personally think
> C would be nicer for my own use if things were different") is that
> when mixing operations between signed int and unsigned int, the signed
> int is converted to unsigned.  I suspect that in real-world code,
> unsigned int values that are within the range of signed int are common
> - and that negative signed int values are more common than unsigned
> int values that are out of range of signed int.  Any common type here,
> unless it is larger than the two original types, is going to get some
> things wrong - but I think that converging on signed int as the common
> type would be wrong less often.  And if that had been the rule, then
> unsigned-preserving promotion would be correct too in examples like
> yours.
[...]

If I were designing a new C-like language, I'd probably avoid the
issue of signed-preserving vs. value-preserving altogether.  I might
say operations where one operand is signed and the other is unsigned
are not allowed; if you need that, you can cast one of the operands.
The C committee decided to impose a more or less reasonable rule on
all such operations; I might require the programmer to decide what
to do in each case.  (There might be an exception for constants,
so that u+1 doesn't require a cast; I haven't thought through the
implications of that.)

I'd also define operations on narrow types, so the promotion rules
become unnecesary.

Of course C can't be changed in this way without breaking tons of
existing code.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

[toc] | [prev] | [next] | [standalone]


#398799

FromDavid Brown <david.brown@hesbynett.no>
Date2026-05-12 08:35 +0200
Message-ID<10tuhmt$1o3bp$1@dont-email.me>
In reply to#398778
On 11/05/2026 23:30, Keith Thompson wrote:
> David Brown <david.brown@hesbynett.no> writes:
> [...]
>> Perhaps the main "mistake" (where "mistake" means "I personally think
>> C would be nicer for my own use if things were different") is that
>> when mixing operations between signed int and unsigned int, the signed
>> int is converted to unsigned.  I suspect that in real-world code,
>> unsigned int values that are within the range of signed int are common
>> - and that negative signed int values are more common than unsigned
>> int values that are out of range of signed int.  Any common type here,
>> unless it is larger than the two original types, is going to get some
>> things wrong - but I think that converging on signed int as the common
>> type would be wrong less often.  And if that had been the rule, then
>> unsigned-preserving promotion would be correct too in examples like
>> yours.
> [...]
> 
> If I were designing a new C-like language, I'd probably avoid the
> issue of signed-preserving vs. value-preserving altogether.  I might
> say operations where one operand is signed and the other is unsigned
> are not allowed; if you need that, you can cast one of the operands.

I'd be with you on that.

However, I think you'd quickly run into inconveniences and annoyances 
with integer constants - you'd want "x * 2" to work regardless of the 
signedness of x's type.  I am no Ada expert, and it's OT anyway, but I 
believe in Ada the type of integer constants adapts to fit when used 
like this - you'd need something similar to make the hypothetical K&B C 
language work well.  Integer constants would have to be "questionably 
signed", not signed or unsigned.  (Maybe "adaptively typed" might be a 
better term, and include the size of the type as well as the signedness.)

> The C committee decided to impose a more or less reasonable rule on
> all such operations; I might require the programmer to decide what
> to do in each case.  (There might be an exception for constants,
> so that u+1 doesn't require a cast; I haven't thought through the
> implications of that.)
> 

Certainly the rules work - even if I might have preferred something 
different, you can learn the rules and right correct code using them. 
Lots of people do!

> I'd also define operations on narrow types, so the promotion rules
> become unnecesary.
> 

<aol> Me too! </aol>

I might start using the _BitInt types, once the versions of gcc I need 
for the targets I need have good support for them.

> Of course C can't be changed in this way without breaking tons of
> existing code.
> 

The curse of popularity.

[toc] | [prev] | [next] | [standalone]


Page 11 of 37 — ← Prev page 1 … 9 10 [11] 12 13 … 37  Next page →

Back to top | Article view | comp.lang.c


csiph-web