Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #53403
| From | Ron Aaron <rambamist@gmail.com> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: Question on exponentiation |
| Date | 2016-12-18 07:46 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <o357pq$a85$1@dont-email.me> (permalink) |
| References | <o35791$99j$1@dont-email.me> <ef536e94-f7ee-4b05-83f7-bd2045609b76@googlegroups.com> |
On 12/18/2016 07:45, Julian Fondren wrote: > python gives the same answer -- if you ask it correctly: > > # python > Python 2.7.12 (default, Jul 1 2016, 15:12:24) > [GCC 5.4.0 20160609] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> (-2)**2 > 4 > > ** is evaluated before the - > > Probably because the - is taken as a multiplication operation? Heh. You're right! And I just checked with "LibreOffice Calc" and it gives the answer I expect as well. So I'm vindicated... Thanks
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Question on exponentiation Ron Aaron <rambamist@gmail.com> - 2016-12-18 07:37 +0200
Re: Question on exponentiation Julian Fondren <julian.fondren@gmail.com> - 2016-12-17 21:45 -0800
Re: Question on exponentiation Ron Aaron <rambamist@gmail.com> - 2016-12-18 07:46 +0200
Re: Question on exponentiation albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-12-18 12:35 +0100
Re: Question on exponentiation Ron Aaron <rambamist@gmail.com> - 2016-12-18 13:33 +0200
Re: Question on exponentiation Richmond <dnomhcir@gmx.com> - 2016-12-18 18:07 +0000
Re: Question on exponentiation albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-12-19 14:00 +0100
Re: Question on exponentiation rickman <gnuarm@gmail.com> - 2016-12-18 15:45 -0500
Re: Question on exponentiation Paul Rubin <no.email@nospam.invalid> - 2016-12-18 14:26 -0800
Re: Question on exponentiation rickman <gnuarm@gmail.com> - 2016-12-18 17:43 -0500
Re: Question on exponentiation Paul Rubin <no.email@nospam.invalid> - 2016-12-18 14:53 -0800
Re: Question on exponentiation rickman <gnuarm@gmail.com> - 2016-12-18 19:12 -0500
Re: Question on exponentiation Julian Fondren <julian.fondren@gmail.com> - 2016-12-18 16:56 -0800
Re: Question on exponentiation Andrew Haley <andrew29@littlepinkcloud.invalid> - 2016-12-19 02:52 -0600
Re: Question on exponentiation john <anon@example.com> - 2016-12-18 12:21 +0000
Re: Question on exponentiation Cecil Bayona <cbayona@cbayona.com> - 2016-12-18 12:14 -0600
Re: Question on exponentiation rickman <gnuarm@gmail.com> - 2016-12-18 15:48 -0500
csiph-web