octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tolerance in binopdf.m


From: Michael D Godfrey
Subject: Re: tolerance in binopdf.m
Date: Tue, 20 Sep 2011 22:14:04 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]