[GiNaC-list] Re: Airy functions
alexander baker
baker.alexander at gmail.com
Mon Dec 31 10:14:27 CET 2007
Alexei,
Could you provide an example to highlight the following statement?
>However, for arbitrary precision calculation the accuracy can be
arbitrary high,
>so the interval could be arbitrary big.
Regards,
Alex Baker
On 29/12/2007, Richard B. Kreckel <kreckel at ginac.de> wrote:
> Alexei Sheplyakov wrote:
> >> // approximation for smallest number so that 1+tol > 1
> >> numeric tol=ex_to<numeric>(3*pow(ex(10),ex(-(Digits-2))));
> >
> > Not really.
>
> Let me just add that plain CLN does come with a better function for
> that. From the manual:
> `cl_F float_epsilon (float_format_t f)'
> Returns the smallest floating point number e > 0 such that 1+e != 1.
>
> -richy.
> --
> Richard B. Kreckel
> <http://www.ginac.de/~kreckel/>
> _______________________________________________
> GiNaC-list mailing list
> GiNaC-list at ginac.de
> https://www.cebix.net/mailman/listinfo/ginac-list
>
--
Mobile: 07788 872118
Blog: www.alexfb.com
More information about the GiNaC-list
mailing list