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


Groups > comp.soft-sys.math.mathematica > #4963

Re: These Simple Four Lines of Mathematic Confound Me -- Bug?

From Richard Fateman <fateman@cs.berkeley.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: These Simple Four Lines of Mathematic Confound Me -- Bug?
Date 2011-09-15 08:45 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j4sdva$sll$1@smc.vnet.net> (permalink)
References <j4prlp$fne$1@smc.vnet.net>

Show all headers | View raw


On 9/14/2011 2:20 AM, James Stein wrote:
> g := { NumberForm [ 13.0, { 5, 3 } ] };
>     g
>     % // N



in FullForm, g is List[NumberForm[13.`,List[5,3]]]

converting that to floating point numbers results in ...List[5.,3.] 
which is illegal as a format.

while NumberForm [....]  prints something that you appear to like,  it 
does not return a value that you apparently expect.

RJF

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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