warning for Round[Log[2]/Log[4]]
- To: mathgroup at smc.vnet.net
- Subject: [mg13909] warning for Round[Log[2]/Log[4]]
- From: Wouter Meeussen <eu000949 at pophost.eunet.be>
- Date: Sun, 6 Sep 1998 02:55:45 -0400
- Sender: owner-wri-mathgroup at wolfram.com
** this is not a bug report ***
Windows 3.0.0.0.
hi all,
it was a surprise to find :
In[ ]:=
Table[Round[LogGamma[n]/Log[4]],{n,24}] \!\($MaxExtraPrecision::"meprec"
\( : \ \)
"In attempting to evaluate \!\(Round[\(\(Log[2]\)\/\(Log[4]\)\)]\),
\ $MaxExtraPrecision \!\(50.`\) was encountered. Increasing the value
of \ $MaxExtraPrecision may help resolve the uncertainty."\) Out[8]=
\!\({0, 0, Round[Log[2]\/Log[4]], 1, 2, 3, 5, 6, 8, 9, 11, 13, 14, 16,
18,
20, 22, 24, 26, 28, 31, 33, 35, 37}\)
and :
In[12]:=Log[2]/Log[4]
Out[12]=\!\(Log[2]\/Log[4]\)
In[13]:=Log[2]/Log[4] // Simplify
Out[13]=\!\(Log[2]\/Log[4]\)
In[14]:=Log[2]/Log[4] //FullSimplify Out[14]=\!\(1\/2\)
Of course al this is correct ! But shouldn't it be trapped by the
internal routines without causing 'blue fuss' ?
wouter.
-----------------------
EulerPhi[1] should be 1, not 0.
-----------------------
Dr. Wouter L. J. MEEUSSEN
w.meeussen.vdmcc at vandemoortele.be
eu000949 at pophost.eunet.be