Re: Why Mathematica does not issue a warning when the calculations
- To: mathgroup at smc.vnet.net
- Subject: [mg117822] Re: Why Mathematica does not issue a warning when the calculations
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Fri, 1 Apr 2011 02:31:34 -0500 (EST)
- References: <in1n51$6sj$1@smc.vnet.net> <4D94A19A.8090001@cs.berkeley.edu>
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