MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Outputting to file with fixed decimal digits

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75343] Re: [mg75285] Re: Outputting to file with fixed decimal digits
  • From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
  • Date: Wed, 25 Apr 2007 05:46:15 -0400 (EDT)
  • References: <f0ekbt$pnn$1@smc.vnet.net> <200704240719.DAA27260@smc.vnet.net>

On 24 Apr 2007, at 16:19, do.not at reply.nonet wrote:

> I have suggested using the "Floor" function - it's to avoid the
> "Round" function which has the most bizarre definition in Mathematica
> - it doesn't give the same answer every time.
> (Look in "Further Examples" in the Help on "Round")

What I find bizarre is your interpretation of this line form the  
documentation:

to avoid statistical bias Round alternates between going up and down  
halfway between integers.

Round[Range[10]+.5]

{2,2,4,4,6,6,8,8,10,10}T

Of course every time run this, you will get the same answer.
SO could you please send us an example where Round, in your own  
words: "doesn't give the same answer every time"?

> It's one reason that makes me think Mathematica is not really
> "Engineering Grade"

I think the problem is just the opposite: some  engineers are just  
not "Mathematica grade" mathematicians and programmers.

Andrzej Kozlowski


  • Prev by Date: Re: Outputting to file with fixed decimal digits
  • Next by Date: remote kernel
  • Previous by thread: Re: Outputting to file with fixed decimal digits
  • Next by thread: Re: Re: Outputting to file with fixed decimal digits