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


Groups > sci.math > #330404 > unrolled thread

-x^2 in Excel

Started by"Sebastian Drayton" <sebastian.drayton@hotmail.com>
First post2016-03-24 11:27 +0000
Last post2016-03-29 13:22 -0700
Articles 20 on this page of 256 — 23 participants

Back to article view | Back to sci.math


Contents

  -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-24 11:27 +0000
    Re: -x^2 in Excel Dan Christensen <Dan_Christensen@sympatico.ca> - 2016-03-24 04:40 -0700
      Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-24 11:51 +0000
        Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-24 08:05 -0400
          Re: -x^2 in Excel G Cornelius <gcornelius@charter.net> - 2016-03-30 19:33 -0400
            Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-30 22:11 -0400
              Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-30 22:48 -0500
                Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-31 07:51 -0400
                  Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-31 08:04 -0500
                    Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-31 08:56 -0400
                      Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-31 09:03 -0500
                        Re: -x^2 in Excel Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-03-31 16:27 +0300
                        Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-31 10:58 -0500
                          Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-31 11:25 -0400
                            Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-31 12:31 -0500
                        Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-31 11:16 -0400
                          Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-31 12:22 -0500
                            Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-31 13:15 -0400
                      Re: -x^2 in Excel Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-03-31 16:26 +0300
                Re: -x^2 in Excel G Cornelius <gcornelius@charter.net> - 2016-03-31 14:44 -0400
        Re: -x^2 in Excel bert <bert.hutchings@btinternet.com> - 2016-03-24 05:09 -0700
          Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-24 12:47 +0000
            Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-24 08:01 -0700
              Re: -x^2 in Excel Dan Christensen <Dan_Christensen@sympatico.ca> - 2016-03-24 08:58 -0700
              Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-24 17:09 +0000
                Re: -x^2 in Excel Dan Christensen <Dan_Christensen@sympatico.ca> - 2016-03-24 10:57 -0700
                  Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-24 18:25 +0000
                Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-24 11:44 -0700
        Re: -x^2 in Excel Dan Christensen <Dan_Christensen@sympatico.ca> - 2016-03-24 05:12 -0700
    Re: -x^2 in Excel Pfsszxt <Pfsszxt@aol.com> - 2016-03-24 10:51 -0500
      Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-24 17:16 +0000
        Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-24 20:52 -0400
          Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-25 10:59 +0000
            Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-25 08:06 -0400
              Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-25 15:21 +0000
                Re: -x^2 in Excel konyberg <konyberg@online.no> - 2016-03-25 15:46 -0700
                  Re: -x^2 in Excel konyberg <konyberg@online.no> - 2016-03-25 16:23 -0700
            Re: -x^2 in Excel Julio Di Egidio <julio@diegidio.name> - 2016-03-25 05:56 -0700
              Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-25 13:04 +0000
                Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-25 13:14 +0000
                Re: -x^2 in Excel Julio Di Egidio <julio@diegidio.name> - 2016-03-25 06:15 -0700
                  Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-25 14:27 +0000
              Re: -x^2 in Excel Ray Vickson <RGVickson@shaw.ca> - 2016-03-25 15:49 -0700
                Re: -x^2 in Excel konyberg <konyberg@online.no> - 2016-03-25 16:36 -0700
    Re: -x^2 in Excel Ray Vickson <RGVickson@shaw.ca> - 2016-03-24 22:39 -0700
      Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-25 02:49 -0400
      Re: -x^2 in Excel bert <bert.hutchings@btinternet.com> - 2016-03-25 06:54 -0700
        Re: -x^2 in Excel Julio Di Egidio <julio@diegidio.name> - 2016-03-25 07:06 -0700
        Re: -x^2 in Excel Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-03-25 16:23 +0200
          Re: -x^2 in Excel Julio Di Egidio <julio@diegidio.name> - 2016-03-25 08:03 -0700
    Re: -x^2 in Excel rfermat <rfermat@yahoo.com> - 2016-03-26 13:43 -0700
      Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 14:18 -0700
        Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 14:46 -0700
          Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 14:51 -0700
            Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-26 16:36 -0600
              Re: -x^2 in Excel richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-26 22:50 +0000
                Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-26 17:09 -0600
                  Re: -x^2 in Excel richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-27 01:46 +0000
                    Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-27 00:26 -0600
                  Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-27 10:16 -0400
                    Re: -x^2 in Excel Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-03-27 17:37 +0300
                      Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-27 15:23 -0400
                        Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-27 15:30 -0700
                          Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-27 20:57 -0400
                            Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-27 18:58 -0700
                              Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-27 22:35 -0400
                                Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-27 22:52 -0400
                                Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-27 20:11 -0700
                                  Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-28 00:19 -0400
                                  Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 00:23 -0400
                                    Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-28 00:40 -0400
                                      Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 01:53 -0400
                                      Re: -x^2 in Excel Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-03-28 10:09 +0300
                                        Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-28 08:16 -0400
                                          Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 20:45 -0400
                                    Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-28 00:54 -0400
                                      Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 01:56 -0400
                                      Re: -x^2 in Excel richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-28 14:11 +0000
                                    Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-28 01:01 -0400
                                      Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 02:02 -0400
                                        Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 02:08 -0400
                                    Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-28 01:12 -0500
                                  Re: -x^2 in Excel "John Smith" <invalid@invalid.invalid> - 2016-03-29 10:45 -0400
                                Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 00:11 -0600
                                  Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-28 19:48 -0400
                                    Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 18:30 -0600
                                      Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 18:01 -0700
                                        Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 18:30 -0700
                                          Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 18:41 -0700
                                            Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 18:51 -0700
                                              Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 22:25 -0600
                                            Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 22:22 -0600
                                          Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 22:07 -0600
                                        Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 22:01 -0600
                            Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 00:03 -0600
                              Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-28 19:46 -0400
                        Re: -x^2 in Excel Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-03-28 09:42 +0300
                          Re: -x^2 in Excel Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-03-28 12:10 +0300
                          Re: -x^2 in Excel David Bernier <david250@videotron.ca> - 2016-03-28 05:02 -0400
                          Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-28 08:30 -0400
                            Re: -x^2 in Excel Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-03-28 22:08 +0300
                              Re: -x^2 in Excel Julio Di Egidio <julio@diegidio.name> - 2016-03-28 13:07 -0700
                                Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 17:57 -0600
                    Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-27 15:47 -0600
                      Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-27 21:02 -0400
                        Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-27 23:56 -0600
                Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-26 20:52 -0400
                  Re: -x^2 in Excel "Alex Plantema" <alex@nl.invalid> - 2016-03-27 19:08 +0200
                    Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-27 13:27 -0400
          Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-26 16:28 -0600
            Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 17:43 -0700
              Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-26 18:54 -0600
              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 17:57 -0700
                Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 18:04 -0700
                Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 18:36 -0700
          Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 18:33 -0700
        Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 14:57 -0700
          Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 14:59 -0700
            Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 18:38 -0700
              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 19:04 -0700
                Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 19:16 -0700
                  Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 19:24 -0700
                  Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 19:29 -0700
                    Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 20:03 -0700
                      Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 20:27 -0700
                        Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 20:34 -0700
                          Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 20:36 -0700
                            Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 20:45 -0700
                              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 20:47 -0700
                                Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 20:51 -0700
                        Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 20:34 -0700
                          Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 20:41 -0700
                            Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 20:49 -0700
                              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 20:54 -0700
                              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 20:58 -0700
                              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 21:07 -0700
                                Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 21:10 -0700
                                  Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-27 10:43 -0700
                                  Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-27 10:45 -0700
                                Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 21:35 -0700
                                  Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 21:37 -0700
                                  Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-27 10:50 -0700
                                    Re: -x^2 in Excel abu.kuanysh05@gmail.com - 2016-03-27 13:14 -0700
                                    Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 00:30 -0700
                                      Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 01:44 -0600
                                        Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 00:49 -0700
                                        Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 00:58 -0700
                                          Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 01:10 -0700
                                            Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 01:15 -0700
                                            Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 04:39 -0600
                                              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 08:35 -0700
                                                Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 09:01 -0700
                                                  Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 10:12 -0700
                                                Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 11:58 -0600
                                                  Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 11:03 -0700
                                                    Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 11:08 -0700
                                                      Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 13:10 -0600
                                                        Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 13:24 -0700
                                                          Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 13:43 -0700
                                                            Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 14:02 -0700
                                                              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 14:34 -0700
                                                                Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 15:00 -0700
                                                                  Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 17:43 -0600
                                                                Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 17:39 -0600
                                                                  Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 17:43 -0700
                                                                    Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 22:27 -0600
                                                              Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 17:36 -0600
                                                            Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 17:32 -0600
                                                          Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 17:26 -0600
                                                    Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 13:02 -0600
                                          Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 04:28 -0600
                                        Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 02:00 -0700
                                          Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 02:12 -0700
                                            Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 02:59 -0700
                                              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 03:07 -0700
                                                Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 05:13 -0600
                                                  Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-28 19:56 -0400
                                                    Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 18:26 -0600
                                              Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 04:48 -0600
                                                Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 08:20 -0700
                                                  Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 11:53 -0600
                                                    Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 10:59 -0700
                                                      Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 13:14 -0600
                            Re: -x^2 in Excel Dan Christensen <Dan_Christensen@sympatico.ca> - 2016-03-26 21:57 -0700
                            Re: -x^2 in Excel Dan Christensen <Dan_Christensen@sympatico.ca> - 2016-03-26 22:17 -0700
                              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 22:49 -0700
                              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-26 22:52 -0700
                                Re: -x^2 in Excel Dan Christensen <Dan_Christensen@sympatico.ca> - 2016-03-26 23:18 -0700
                  Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 19:58 -0700
                Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 19:58 -0700
          Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-26 16:08 -0600
          Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 18:38 -0700
            Re: -x^2 in Excel rfermat <rfermat@yahoo.com> - 2016-03-26 18:45 -0700
              Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-26 19:00 -0700
    Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-27 23:50 -0500
      Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-28 04:11 -0500
        Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-28 04:20 -0500
          Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 06:47 -0400
            Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-28 07:47 -0500
              Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 08:29 -0400
              Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 08:33 -0400
                Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 08:36 -0400
                Re: -x^2 in Excel richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-28 14:18 +0000
                  Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 10:25 -0400
                    Re: -x^2 in Excel richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-28 15:20 +0000
                      Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 20:57 -0400
              Re: -x^2 in Excel quasi <quasi@null.set> - 2016-03-28 08:34 -0500
                Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 08:38 -0400
                  Re: -x^2 in Excel David Bernier <david250@videotron.ca> - 2016-03-29 00:16 -0400
                    Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-29 00:38 -0400
                      Re: -x^2 in Excel David Bernier <david250@videotron.ca> - 2016-03-29 02:45 -0400
                        Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-29 03:39 -0400
                        Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-29 08:21 -0400
          Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-04-06 15:48 -0400
      Re: -x^2 in Excel Martin Shobe <martin.shobe@yahoo.com> - 2016-03-28 07:32 -0500
        Re: -x^2 in Excel Martin Shobe <martin.shobe@yahoo.com> - 2016-03-28 07:35 -0500
          Re: -x^2 in Excel Wasell <from_usenet@wasell.eu> - 2016-03-28 18:09 +0200
    Re: -x^2 in Excel Pfsszxt <Pfsszxt@aol.com> - 2016-03-28 08:31 -0500
      Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-28 17:22 +0100
      Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 12:18 -0600
        Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 11:26 -0700
          Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 11:44 -0700
            Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 13:27 -0600
              Re: -x^2 in Excel richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-28 22:54 +0000
                Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-29 00:19 +0100
                Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 17:24 -0600
                  Re: -x^2 in Excel richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-28 23:41 +0000
                    Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 18:23 -0600
                      Re: -x^2 in Excel richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-29 10:21 +0000
                    Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 21:01 -0400
                      Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-28 21:15 -0400
                      Re: -x^2 in Excel richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-29 10:25 +0000
                  Re: -x^2 in Excel "Sebastian Drayton" <sebastian.drayton@hotmail.com> - 2016-03-29 00:45 +0100
                    Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 18:21 -0600
                  Re: -x^2 in Excel Wally W. <ww84wa@aim.com> - 2016-03-28 20:01 -0400
                    Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 18:19 -0600
          Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 12:47 -0600
            Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 13:21 -0700
              Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 17:51 -0600
    Re: -x^2 in Excel Dan Christensen <Dan_Christensen@sympatico.ca> - 2016-03-28 08:53 -0700
      Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 09:13 -0700
        Re: -x^2 in Excel Dan Christensen <Dan_Christensen@sympatico.ca> - 2016-03-28 10:21 -0700
          Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 10:26 -0700
            Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 10:43 -0700
              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 10:51 -0700
                Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 12:09 -0600
                  Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 11:22 -0700
                    Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 12:50 -0600
              Re: -x^2 in Excel Dan Christensen <Dan_Christensen@sympatico.ca> - 2016-03-28 11:12 -0700
            Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 12:04 -0600
              Re: -x^2 in Excel retenshun@gmail.com - 2016-03-28 11:14 -0700
                Re: -x^2 in Excel Virgil <VIRGIL@VIRGIL.com> - 2016-03-28 12:59 -0600
                  Re: -x^2 in Excel Bill <BILL_NOSPAM@whoknows.net> - 2016-03-28 21:30 -0400
    Re: -x^2 in Excel Dan Christensen <Dan_Christensen@sympatico.ca> - 2016-03-28 11:32 -0700
    Re: -x^2 in Excel rfermat <rfermat@yahoo.com> - 2016-03-29 09:07 -0700
      Re: -x^2 in Excel Arturo Magidin <magidin@member.ams.org> - 2016-03-29 13:22 -0700

Page 1 of 13  [1] 2 3 … 13  Next page →


#330404 — -x^2 in Excel

From"Sebastian Drayton" <sebastian.drayton@hotmail.com>
Date2016-03-24 11:27 +0000
Subject-x^2 in Excel
Message-ID<98t8i6.q3u.17.1@news.alt.net>
I don't understand why Excel gives +4 as the result of -2^2. Surely this is 
counterintuitive. Isn't there a way to get Excel to treat numbers 
mathematically? After all, -x^2 should be a NEGATIVE number.

Thanks. 

[toc] | [next] | [standalone]


#330405

FromDan Christensen <Dan_Christensen@sympatico.ca>
Date2016-03-24 04:40 -0700
Message-ID<390f117c-44a3-4a8b-8296-1729c5087281@googlegroups.com>
In reply to#330404
On Thursday, March 24, 2016 at 7:28:45 AM UTC-4, Sebastian Drayton wrote:
> I don't understand why Excel gives +4 as the result of -2^2. Surely this is 
> counterintuitive. Isn't there a way to get Excel to treat numbers 
> mathematically? After all, -x^2 should be a NEGATIVE number.
> 
> Thanks.

Try -(x^2)

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


#330406

From"Sebastian Drayton" <sebastian.drayton@hotmail.com>
Date2016-03-24 11:51 +0000
Message-ID<98t9s7.m1a.19.1@news.alt.net>
In reply to#330405

> "Dan Christensen"  wrote in message 
> news:390f117c-44a3-4a8b-8296-1729c5087281@googlegroups.com...
>
> On Thursday, March 24, 2016 at 7:28:45 AM UTC-4, Sebastian Drayton wrote:
>> I don't understand why Excel gives +4 as the result of -2^2. Surely this 
>> is
>> counterintuitive. Isn't there a way to get Excel to treat numbers
>> mathematically? After all, -x^2 should be a NEGATIVE number.
>>
>> Thanks.
>
>Try -(x^2)
>

Look, I'm not stupid. OF COURSE, -(x^2) gives a negative number.
But why should -x^2 be considered to be (-x)^2?
And isn't there a way of programming Excel to regard -x^2 as ALWAYS 
being -(x^2)?

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


#330408

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-03-24 08:05 -0400
Message-ID<nd0l64022gm@news4.newsguy.com>
In reply to#330406
Sebastian Drayton wrote:
>
>
>> "Dan Christensen"  wrote in message 
>> news:390f117c-44a3-4a8b-8296-1729c5087281@googlegroups.com...
>>
>> On Thursday, March 24, 2016 at 7:28:45 AM UTC-4, Sebastian Drayton 
>> wrote:
>>> I don't understand why Excel gives +4 as the result of -2^2. Surely 
>>> this is
>>> counterintuitive. Isn't there a way to get Excel to treat numbers
>>> mathematically? After all, -x^2 should be a NEGATIVE number.
>>>
>>> Thanks.
>>
>> Try -(x^2)
>>
>
> Look, I'm not stupid. OF COURSE, -(x^2) gives a negative number.
> But why should -x^2 be considered to be (-x)^2?
> And isn't there a way of programming Excel to regard -x^2 as ALWAYS 
> being -(x^2)?
>

Certainly.  You just showed it!  I don't think you'll get MS to rewrite 
its interpreter over this.  I mean, if it hasn't bothered them so far, 
then....
Lots of things vary in life that should be the same....might as well 
learn to get used to it.
Another solution to your problem would be to write -x*x.  Don't lose 
sleep over it.  Rewrite your own office apps, if it bugs you.  Check out 
the way the open source spreadsheet programs work before you start, just 
in case they evaluate -x^2 differently.   Have fun!

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


#330926

FromG Cornelius <gcornelius@charter.net>
Date2016-03-30 19:33 -0400
Message-ID<ndhmil$18el$1@gioia.aioe.org>
In reply to#330408
On 03/24/2016 08:05 AM, Bill wrote:
> Sebastian Drayton wrote:

>> Look, I'm not stupid. OF COURSE, -(x^2) gives a negative number.
>> But why should -x^2 be considered to be (-x)^2?
>> And isn't there a way of programming Excel to regard -x^2 as ALWAYS being -(x^2)?
>>
> 
> Certainly.  You just showed it!  I don't think you'll get MS to rewrite its
> interpreter over this.  I mean, if it hasn't bothered them so far, then....
> Lots of things vary in life that should be the same....might as well learn
> to get used to it. Another solution to your problem would be to write -x*x.
> Don't lose sleep over it.  Rewrite your own office apps, if it bugs you.
> Check out the way the open source spreadsheet programs work before you start,
> just in case they evaluate
> -x^2 differently.   Have fun!

It _is_ a sickness, however.

And you cannot recover from it because everything ever written
is built to operate within the existing structure.  Excel may
in fact have copied its behavior from Lotus, or even from the
original, the gold standard, Visicalc.

And Libre Office does what Excel does.

As someone who has written interpreters (in the 1960's!)
I of course knew about this problem and, in my first attempt,
implemented   - expression   by supplying the missing zero,
i.e., by forcing the interpreter to evalualate  0 - expression .

Later I changed it so ---x would not have to be a syntax
error, by having a reverse- precedence order flag which
I could set in the precedence code for - and ^ to cause
---x and x^a^b^c to conform to what might be expected in
normal mathematical notation. Others have used a dual
(left_forcing,right_forcing) precedence attribute, but that
seemed to me to be overkill for what is otherwise a rather
trivial problem.

In no case did I ever have a problem getting -x^2 right,
because no one in their right mind has unary minus have
greater or equal precedence relative to exponentiation.

George

 Note on using a reverse precedence flag: Let every operator
 be pushed onto the operator stack with corresponding precedence
 value m*2+n, where n is its reverse precedence flag.  When
 comparing the _next_ operator to determine if it is forcing,
 compare it to (1 XOR precedence[n-1]), i.e., to the current
 top of stack's precedence with low bit flipped.  This
 forces left to right precedence for most operators and
 right to left for those with the reverse precedence bit
 set.

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


#330957

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-03-30 22:11 -0400
Message-ID<ndi0um01ofb@news7.newsguy.com>
In reply to#330926
G Cornelius wrote:
> <snip>

> In no case did I ever have a problem getting -x^2 right,
> because no one in their right mind has unary minus have
> greater or equal precedence relative to exponentiation.
Consider -5+3?

Do you want addition (+) to have higher precedence than unary minus too?

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


#330960

Fromquasi <quasi@null.set>
Date2016-03-30 22:48 -0500
Message-ID<i87pfbp79fd3dn81a9kks0rhvitf9on90l@4ax.com>
In reply to#330957
Bill wrote:
>G Cornelius wrote:
>>
>> <snip>
>>
>>In no case did I ever have a problem getting -x^2 right,
>>because no one in their right mind has unary minus have
>>greater or equal precedence relative to exponentiation.
>
>Consider -5+3?
>
>Do you want addition (+) to have higher precedence than unary 
>minus too?

I'll answer for him ...

Answer: Of course not.

But note -- he was specifically discussing the relative precedence
of unary minus vs exponentiation.

quasi

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


#331017

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-03-31 07:51 -0400
Message-ID<ndj2vv0eb0@news3.newsguy.com>
In reply to#330960
quasi wrote:
> Bill wrote:
>> G Cornelius wrote:
>>> <snip>
>>>
>>> In no case did I ever have a problem getting -x^2 right,
>>> because no one in their right mind has unary minus have
>>> greater or equal precedence relative to exponentiation.
>> Consider -5+3?
>>
>> Do you want addition (+) to have higher precedence than unary
>> minus too?
> I'll answer for him ...
>
> Answer: Of course not.
>
> But note -- he was specifically discussing the relative precedence
> of unary minus vs exponentiation.
>
> quasi

So does his precedence hierarchy have a loop in it, as opposed to level 
1, level 2, level 3, ... , level n?  One has to translate what they 
"want" into a specification.

-5+3,  or -5 % 3, are good examples,
where % is the modulo operator. Everyone knows % has the same precedence 
as multiplication and division (but those don't work well in this 
discussion).

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


#331019

Fromquasi <quasi@null.set>
Date2016-03-31 08:04 -0500
Message-ID<4c7qfb9qqfgqcacgnvqdmq19mhd2p8i774@4ax.com>
In reply to#331017
Bill wrote:
>quasi wrote:
>>Bill wrote:
>>>G Cornelius wrote:
>>>>
>>>><snip>
>>>>
>>>>In no case did I ever have a problem getting -x^2 right,
>>>>because no one in their right mind has unary minus have
>>>>greater or equal precedence relative to exponentiation.
>>>
>>>Consider -5+3?
>>>
>>>Do you want addition (+) to have higher precedence than unary
>>>minus too?
>>
>>I'll answer for him ...
>>
>>Answer: Of course not.
>>
>>But note -- he was specifically discussing the relative precedence
>>of unary minus vs exponentiation.
>
>So does his precedence hierarchy have a loop in it,

What do you mean by a loop?

>as opposed to level 1, level 2, level 3, ... , level n?  

Of _course_ there would be levels.

For the full spec, you'd have to ask him, but he clearly 
indicated that exponentiation would be at a level strictly 
preceding unary minus. As for the other arithmetic operations, 
he would presumably choose a precedence scheme so as to be 
consistent with standard mathematical usage.

>One has to translate what they "want" into a specification.

Sure, but he was focusing on the main issue of this thread -- the 
relative precedence of exponentiation vs unary minus.

>-5+3,  or -5 % 3, are good examples, where % is the modulo 
>operator. Everyone knows % has the same precedence 
>as multiplication and division (but those don't work well in 
>this discussion).

quasi

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


#331028

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-03-31 08:56 -0400
Message-ID<ndj6pm0g4a@news3.newsguy.com>
In reply to#331019
quasi wrote:
> Bill wrote:
>> quasi wrote:
>>> Bill wrote:
>>>> G Cornelius wrote:
>>>>> <snip>
>>>>>
>>>>> In no case did I ever have a problem getting -x^2 right,
>>>>> because no one in their right mind has unary minus have
>>>>> greater or equal precedence relative to exponentiation.
>>>> Consider -5+3?
>>>>
>>>> Do you want addition (+) to have higher precedence than unary
>>>> minus too?
>>> I'll answer for him ...
>>>
>>> Answer: Of course not.
>>>
>>> But note -- he was specifically discussing the relative precedence
>>> of unary minus vs exponentiation.
>> So does his precedence hierarchy have a loop in it,
> What do you mean by a loop?

Go look at the C or C++ precedence that I posted a link to before (it 
takes seconds to find with a search), and tell me in which category 
(i.e. level) you would add an exponentiation operator.

I call having an operator at two different levels something of a "loop" 
(perhaps not the best word). All of the sudden expressions become 
ambiguous...

Bill

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


#331032

Fromquasi <quasi@null.set>
Date2016-03-31 09:03 -0500
Message-ID<dgbqfb90jn24b9pdg2r5rvaq3cnigmrqmh@4ax.com>
In reply to#331028
Bill wrote:
>
>Go look at the C or C++ precedence that I posted a link to 
>before (it takes seconds to find with a search), 

<http://en.cppreference.com/w/cpp/language/operator_precedence>

>and tell me in which category (i.e. level) you would add an
>exponentiation operator.

Level 2.5

quasi

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


#331035

FromJussi Piitulainen <jussi.piitulainen@helsinki.fi>
Date2016-03-31 16:27 +0300
Message-ID<lf5mvpeeq0z.fsf@ling.helsinki.fi>
In reply to#331032
quasi writes:

> Bill wrote:
>>
>>Go look at the C or C++ precedence that I posted a link to 
>>before (it takes seconds to find with a search), 
>
> <http://en.cppreference.com/w/cpp/language/operator_precedence>
>
>>and tell me in which category (i.e. level) you would add an
>>exponentiation operator.
>
> Level 2.5

Ninja'd :)

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


#331038

Fromquasi <quasi@null.set>
Date2016-03-31 10:58 -0500
Message-ID<0ohqfbhrmm5fsa7rtbr12ilf4jpt85oi4b@4ax.com>
In reply to#331032
quasi wrote:
>Bill wrote:
>>
>>Go look at the C or C++ precedence that I posted a link to 
>>before (it takes seconds to find with a search), 
>
><http://en.cppreference.com/w/cpp/language/operator_precedence>
>
>>and tell me in which category (i.e. level) you would add an
>>exponentiation operator.
>
>Level 2.5

Another alternative:

Don't make a new level.

Drop the level of unary plus and unary minus to 5 -- the same 
level as multiplication, division, and mod, still left to right 
on that level.

This conceptualizes unary plus and unary minus as multiplication 
by +1 and -1 respectively. I believe that's consistent with 
standard math usage. Of course at the chip level, the CPU negates 
the same as always -- via bit manipulation (e.g.,two's complement).

For the hypothetical exponentiation operator, place it at 
level 3 (where unary plus and unary minus used to be).

quasi

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


#331042

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-03-31 11:25 -0400
Message-ID<ndjfh40khn@news3.newsguy.com>
In reply to#331038
quasi wrote:
> quasi wrote:
>> Bill wrote:
>>> Go look at the C or C++ precedence that I posted a link to
>>> before (it takes seconds to find with a search),
>> <http://en.cppreference.com/w/cpp/language/operator_precedence>
>>
>>> and tell me in which category (i.e. level) you would add an
>>> exponentiation operator.
>> Level 2.5
> Another alternative:
>
> Don't make a new level.
>
> Drop the level of unary plus and unary minus to 5 -- the same
> level as multiplication, division, and mod, still left to right
> on that level.
>
> This conceptualizes unary plus and unary minus as multiplication
> by +1 and -1 respectively. I believe that's consistent with
> standard math usage. Of course at the chip level, the CPU negates
> the same as always -- via bit manipulation (e.g.,two's complement).
Of course, for a constant, the translation would occur during 
compilation time. And for a floating point number (like a double), only 
the sign bit needs to be changed.  pow() returns a double no matter the 
data type of the operands.

>
> For the hypothetical exponentiation operator, place it at
> level 3 (where unary plus and unary minus used to be).
>
> quasi

Did you know that specification for C++ is overseen by an international 
committee?  Can you imagine the discussions?!

Cheers,
Bill

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


#331048

Fromquasi <quasi@null.set>
Date2016-03-31 12:31 -0500
Message-ID<t7nqfblt9f26flqa7gbqobvaumd0hvg7nd@4ax.com>
In reply to#331042
Bill wrote:
>quasi wrote:
>>quasi wrote:
>>>Bill wrote:
>>>>
>>>>Go look at the C or C++ precedence that I posted a link to
>>>>before (it takes seconds to find with a search),
>>>
>>><http://en.cppreference.com/w/cpp/language/operator_precedence>
>>>
>>>>and tell me in which category (i.e. level) you would add an
>>>>exponentiation operator.
>>>
>>>Level 2.5
>>
>>Another alternative:
>>
>>Don't make a new level.
>>
>>Drop the level of unary plus and unary minus to 5 -- the same
>>level as multiplication, division, and mod, still left to right
>>on that level.
>>
>>This conceptualizes unary plus and unary minus as multiplication
>>by +1 and -1 respectively. I believe that's consistent with
>>standard math usage. Of course at the chip level, the CPU 
>>negates the same as always -- via bit manipulation (e.g., two's
>>complement).
>
>Of course, for a constant, the translation would occur during 
>compilation time. And for a floating point number (like a double), >only the sign bit needs to be changed.  pow() returns a double 
>no matter the data type of the operands.
>
>>For the hypothetical exponentiation operator, place it at
>>level 3 (where unary plus and unary minus used to be).
>
>Did you know that specification for C++ is overseen by an >international committee?  

Yes.

>Can you imagine the discussions?!

There's no way they would even take up the issue.

I'm sure the issue was discussed and fully analyzed in the past 
and resolved in an essentially final way.

quasi

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


#331040

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-03-31 11:16 -0400
Message-ID<ndjf0i0k38@news3.newsguy.com>
In reply to#331032
quasi wrote:
> Bill wrote:
>> Go look at the C or C++ precedence that I posted a link to
>> before (it takes seconds to find with a search),
> <http://en.cppreference.com/w/cpp/language/operator_precedence>
>
>> and tell me in which category (i.e. level) you would add an
>> exponentiation operator.
> Level 2.5
>
> quasi

While I am thinking about this, will your operator return an int or a 
double (if you can, give
it's prototype).  The symbol ^ (Level 11) already is defined for 
"bitwiseexclusive-or". What symbol do you wish to use for 
exponentiation?  Actually, this seems sort of redundant since
we already have "pow"--do you want your operator to do exactly the same 
thing?  A difference is that you can "overload" an operator. But my main 
objection has to be the splitting of the unary operators at levels 2 and 
3.  Is this operator so deserving? I hope I've brought some insight to 
the problem that you didn't already possess.

Bill

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


#331046

Fromquasi <quasi@null.set>
Date2016-03-31 12:22 -0500
Message-ID<c3lqfbtvimrgqj3c2m52b21dep3dm8lk24@4ax.com>
In reply to#331040
Bill wrote:
>quasi wrote:
>>Bill wrote:
>>>
>>>Go look at the C or C++ precedence that I posted a link to
>>>before (it takes seconds to find with a search),
>>
>><http://en.cppreference.com/w/cpp/language/operator_precedence>
>>
>>>and tell me in which category (i.e. level) you would add an
>>>exponentiation operator.
>>
>>Level 2.5
>
>While I am thinking about this, will your operator return an 
>int or a double (if you can, give it's prototype).

Same type rules (promotion, etc) as for multiplication, except 
a negative power of an int should always yields a double.

>The symbol ^ (Level 11) already is defined for 
>"bitwiseexclusive-or". What symbol do you wish to use for 
>exponentiation?  Actually, this seems sort of redundant since
>we already have "pow"--do you want your operator to do exactly 
>the same thing?  A difference is that you can "overload" an 
>operator. But my main objection has to be the splitting of the 
>unary operators at levels 2 and  3.  Is this operator so 
>deserving? 

Creating a new level is no big deal.

It's fine as long as the new level serves the intended purpose 
and doesn't create a mess of other syntax dilemmas.

>I hope I've brought some insight to the problem that you 
>didn't already possess.

Yes, from the discussion, it's clear that any attempt to
introduce an exponentiation operator into C or C++ creates
lots of issues that need to be dealt with. 

But this was just a toy exercise, not a real-world 
recommendation. Given that 

   * C and C++ are, at heart, based on fixed precision 
     arithmetic (and hence positive integer powers of ints 
     would tend to overflow very quickly).

   * pow() already exists for doubles.

trying to define an exponentiation operator for primitive types 
in C or C++ is probably not worth the trouble.

On the other hand, at the object level -- for user-defined object
types such as polynomials or matrices, creating an exponentiation
operator may very well be worth defining. And for that scenario, 
I would steal the "^" operator since bit manipulation operators 
aren't needed for those kinds of objects.

quasi

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


#331055

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-03-31 13:15 -0400
Message-ID<ndjlut02ug5@news4.newsguy.com>
In reply to#331046
quasi wrote:
> <snip>
>
> But this was just a toy exercise, not a real-world
> recommendation. Given that
>
>     * C and C++ are, at heart, based on fixed precision
>       arithmetic (and hence positive integer powers of ints
>       would tend to overflow very quickly).
>
>     * pow() already exists for doubles.
>
> trying to define an exponentiation operator for primitive types
> in C or C++ is probably not worth the trouble.

It's absolutely not worth the trouble, since pow() is already part of 
the language.
C++ is marvelously non-redundant, particularly compared to Java.

Bill

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


#331034

FromJussi Piitulainen <jussi.piitulainen@helsinki.fi>
Date2016-03-31 16:26 +0300
Message-ID<lf5r3eqeq3a.fsf@ling.helsinki.fi>
In reply to#331028
Bill writes:
> quasi wrote:
>> Bill wrote:
>>> quasi wrote:
>>>> Bill wrote:
>>>>> G Cornelius wrote:
>>>>>> <snip>
>>>>>>
>>>>>> In no case did I ever have a problem getting -x^2 right,
>>>>>> because no one in their right mind has unary minus have
>>>>>> greater or equal precedence relative to exponentiation.
>>>>> Consider -5+3?
>>>>>
>>>>> Do you want addition (+) to have higher precedence than unary
>>>>> minus too?
>>>> I'll answer for him ...
>>>>
>>>> Answer: Of course not.
>>>>
>>>> But note -- he was specifically discussing the relative precedence
>>>> of unary minus vs exponentiation.
>>> So does his precedence hierarchy have a loop in it,
>> What do you mean by a loop?
>
> Go look at the C or C++ precedence that I posted a link to before (it
> takes seconds to find with a search), and tell me in which category
> (i.e. level) you would add an exponentiation operator.
>
> I call having an operator at two different levels something of a
> "loop" (perhaps not the best word). All of the sudden expressions
> become ambiguous...

How about a new level 2.5, weaker than function calls, substricting, and
selections at level 2, stronger than unary plus and minus at level 3,
and also make it associate right to left?

https://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Operator_precedence

What would go wrong (that is not already wrong)?

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


#331057

FromG Cornelius <gcornelius@charter.net>
Date2016-03-31 14:44 -0400
Message-ID<ndjq1c$bmc$1@gioia.aioe.org>
In reply to#330960
On 03/30/2016 11:48 PM, quasi wrote:
> Bill wrote:
>> G Cornelius wrote:
>>>
>>> <snip>
>>>
>>> In no case did I ever have a problem getting -x^2 right,
>>> because no one in their right mind has unary minus have
>>> greater or equal precedence relative to exponentiation.
>>
>> Consider -5+3?
>>
>> Do you want addition (+) to have higher precedence than unary 
>> minus too?
> 
> I'll answer for him ...
> 
> Answer: Of course not.
> 
> But note -- he was specifically discussing the relative precedence
> of unary minus vs exponentiation.

Yes, but I spoke too soon.

A unary minus immediately following a binary ^ must
execute _before_ the ^ while a binary ^ must _not_
force a pending unary minus, (basically due to a
-a^b sequence), to execute first.  I think I had to
invent a special two-character operator ^- , raising
raising to a negated power, to keep my precedence
scheme intact.

But then I may also be wrong about ---x.  I may have just
disallowed an uninterrupted sequence of unary operators
rather than implement a counting scheme for a sequence of
unary minuses following an ^ .  Time to get out the dusty
old listing book.

Unary + may always be discarded at the point at
which it is encountered.

I guess I understand why pow(a,b) is used instead in
c - which turns out to have been implemented _after_
my interpreter [actually I only wrote the expression
evaluator - my coauthor wrote the primary parser,
for a rather limited set of tokens/keywords, and
passed other entities on to me].

Not that anyone else actually knew of the existence
of this particular implementation of Rand Corporation's
Joss language except maybe a few students at two small
colleges on the East Coast of the US.

George

> quasi
> 

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


Page 1 of 13  [1] 2 3 … 13  Next page →

Back to top | Article view | sci.math


csiph-web