MathGroup Archive 2009

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

Search the Archive

Re: Precision of AiryAi[0.0]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103519] Re: Precision of AiryAi[0.0]
  • From: Harutyun Amirjanyan <amirjanyan at gmail.com>
  • Date: Sat, 26 Sep 2009 06:13:14 -0400 (EDT)
  • References: <200909241149.HAA29080@smc.vnet.net> <h9i44n$98i$1@smc.vnet.net>

this looks like a bug
and it's the same in versions 5,6,7

setting every time Precision to MachinePrecision can help
In[1]:= AiryAi1[x_?NumberQ] :=
 SetPrecision[AiryAi[x], MachinePrecision]

In[2]:= ClearSystemCache[]
Precision@Nest[AiryAi1, 0.0, 100] // Timing

Out[3]= {0., MachinePrecision}

In[4]:= ClearSystemCache[]
Precision@Nest[AiryAi, 0.0, 100] // Timing

Out[5]= {0.687, 225.079}


  • Prev by Date: How to solve this equation?
  • Next by Date: Re: two quad processor machine
  • Previous by thread: Re: Re: Precision of AiryAi[0.0]
  • Next by thread: Re: Re: Precision of AiryAi[0.0]