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


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

Re: Why Mathematica does not issue a warning when the calculations

From Andrzej Kozlowski <akoz@mimuw.edu.pl>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Why Mathematica does not issue a warning when the calculations
Date 2011-04-01 07:30 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <in3uuc$hpr$1@smc.vnet.net> (permalink)
References <in1n51$6sj$1@smc.vnet.net> <4D94A19A.8090001@cs.berkeley.edu>

Show all headers | View raw


On 31 Mar 2011, at 17:45, Richard Fateman wrote:

> On 3/31/2011 4:05 AM, Andrzej Kozlowski wrote:
>> On 31 Mar 2011, at 11:03, Richard Fateman wrote:
>>
>>> Here's a way around this issue, I think.  For every function of
>>> interest, do something like this:
>>> prec;
>>> f[x_]:=Block[ {$MaxPrecision=prec,$MinPrecision=prec}, Whatever...]
>>>
>>> This is even less intuitive than your suggestion.
>>>
>>>
>>> RJF
>>
>>
>> An original and surprising suggestion, particularly in view of the following:
>>
>>
>> On 29 Mar 2011, at 13:53, Andrzej Kozlowski wrote:
>>
>>> In addition (for some curious reason) Richard never bothers to point out that
>>>
>>> z = 1.0000000000000000000;
>>> Block[{$MaxPrecision = 20, $MinPrecision = 20},
>>> Table[(z = 2*z - z), {42}]]
>>
>> Andrzej Kozlowski
>>
>
> Certainly Andrzej was not the first to post this on mathgroup, nor was I.
> My point, which Andrzej may have lost sight of, is that to make this setting effective, one must rephrase each and every function this way.

And what on earth made you think I "lost sight" of this obvious point?

Andrzej

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


Thread

Re: Why Mathematica does not issue a warning when the calculations Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-03-31 11:05 +0000
  Re: Why Mathematica does not issue a warning when the calculations Richard Fateman <fateman@cs.berkeley.edu> - 2011-04-01 07:30 +0000
  Re: Why Mathematica does not issue a warning when the calculations Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-04-01 07:30 +0000

csiph-web