[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tolerance in binopdf.m
From: |
Ben Abbott |
Subject: |
Re: tolerance in binopdf.m |
Date: |
Wed, 21 Sep 2011 05:08:50 -0400 |
On Sep 21, 2011, at 1:14 AM, Michael D Godfrey wrote:
> On 09/20/2011 08:50 PM, Ben Abbott wrote:
>> printf ("%.17f\n", log (0.5))
>> -0.69314718055994529
>> printf ("%.17f\n", gammaln (3))
>> 0.69314718055994540
>>
>> Does anyone have any insight regarding this?
>>
>> What does Linux give for these two?
>>
>> Ben
>>
> Just for the record Linux, as shown below, gives:
>
> octave:1> printf ("%.17f\n", log (0.5))
> -0.69314718055994529
> octave:2> printf ("%.17f\n", gammaln (3))
> 0.69314718055994529
> octave:3> version
> ans = 3.5.0+
> octave:4> quit
>
> [qss:octave] uname -a
> Linux qss.stanford.edu 2.6.35.14-96.fc14.x86_64 #1 SMP Thu Sep 1 11:59:56 UTC
> 2011 x86_64 x86_64 x86_64 GNU/Linux
> ==================================
>
> I agree that this is not likely a "Linux" problem.
>
> Michael
>
I asked about linux to determine which function was giving the incorrect result.
Ben
- Overhaul of statistical distribution functions, Rik, 2011/09/20
- Re: Overhaul of statistical distribution functions, Ben Abbott, 2011/09/20
- Re: Overhaul of statistical distribution functions, Michael D Godfrey, 2011/09/20
- Re: tolerance in binopdf.m, Rik, 2011/09/20
- Re: tolerance in binopdf.m, Ben Abbott, 2011/09/20
- Re: tolerance in binopdf.m, Ben Abbott, 2011/09/20
- Re: tolerance in binopdf.m, Jordi Gutiérrez Hermoso, 2011/09/21
- Re: tolerance in binopdf.m, Tatsuro MATSUOKA, 2011/09/21
- Re: tolerance in binopdf.m, Michael D Godfrey, 2011/09/21
- Re: tolerance in binopdf.m,
Ben Abbott <=
- Re: tolerance in binopdf.m, Rik, 2011/09/21
- Re: tolerance in binopdf.m, Marco Atzeri, 2011/09/21
- Re: tolerance in binopdf.m, Jordi Gutiérrez Hermoso, 2011/09/21
- Re: tolerance in binopdf.m, Michael D Godfrey, 2011/09/21
- Re: tolerance in binopdf.m, Michael D Godfrey, 2011/09/21
- Re: tolerance in binopdf.m, Ben Abbott, 2011/09/21
- Re: tolerance in binopdf.m, Ben Abbott, 2011/09/21
- Re: tolerance in binopdf.m, Marco atzeri, 2011/09/21
- Re: tolerance in binopdf.m, Ben Abbott, 2011/09/21
- Re: tolerance in binopdf.m, Jordi Gutiérrez Hermoso, 2011/09/21