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


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

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-03-31 11:05 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <in1n51$6sj$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | NextNext 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