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


Groups > comp.soft-sys.math.mathematica > #4400 > unrolled thread

Re: Just another Mathematica "Gotcha"

Started byMurray Eisenberg <murray@math.umass.edu>
First post2011-08-14 12:23 +0000
Last post2011-08-14 12:23 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Just another Mathematica "Gotcha" Murray Eisenberg <murray@math.umass.edu> - 2011-08-14 12:23 +0000

#4400 — Re: Just another Mathematica "Gotcha"

FromMurray Eisenberg <murray@math.umass.edu>
Date2011-08-14 12:23 +0000
SubjectRe: Just another Mathematica "Gotcha"
Message-ID<j28eor$3fs$1@smc.vnet.net>
Perhaps that would be a good rationale for Mathematica _not_ allowing a 
number to begin with a decimal point?

As things stand right now, Mathematica is rather forgiving about this.

For fun, I tried

   .3/.3 -> a

to see that the period binds to the following 3 rather than to the /.

On 8/13/11 6:49 AM, Daniel Lichtblau wrote:
>> In primary schools one does not learn about // or /. thus the need for
>> parentheses is subtle. Using FullForm (or writing in Lisp) makes such
>> issues disappear.
>
> Of course one of those was covered in elementary school.
>
> 4.5/.3 = ?

-- 
Murray Eisenberg                     murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web