Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4942
| From | James Stein <mathgroup@stein.org> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | These Simple Four Lines of Mathematic Confound Me -- Bug? |
| Date | 2011-09-14 09:20 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j4prlp$fne$1@smc.vnet.net> (permalink) |
I've boiled this puzzlement down to bare bones:
Clear [ g ];
g := { NumberForm [ 13.0, { 5, 3 } ] };
g
% // N
Line 3 gives the output: {13.0} (as expected)
Line 4 gives the output: {13.} but first gives this error message:
NumberForm::iprf : "Formatting specification =91=99{\"5.\", \"3.\"} should be \
a positive integer or a pair of positive integers."
Line 4 seems to cause 'g' to be called. Why?
And how has the formatting spec {5,3} been converted away from integers?
(running Mathematica 8.0.1.0 on a Macintosh)
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
These Simple Four Lines of Mathematic Confound Me -- Bug? James Stein <mathgroup@stein.org> - 2011-09-14 09:20 +0000 Re: These Simple Four Lines of Mathematic Confound Me -- Bug? David Bailey <dave@removedbailey.co.uk> - 2011-09-15 08:44 +0000 Re: These Simple Four Lines of Mathematic Confound Me -- Bug? Richard Fateman <fateman@cs.berkeley.edu> - 2011-09-15 08:45 +0000 Re: These Simple Four Lines of Mathematic Confound Me -- Bug? James Stein <mathgroup@stein.org> - 2011-09-15 08:48 +0000
csiph-web