Le 13/03/2011 15:49, Aurelien Jarno a écrit :
On Sat, Mar 12, 2011 at 03:27:31PM +0100, Julien PUYDT wrote:
Isn't that a little short? If I read
http://en.wikipedia.org/wiki/IEEE_754-2008#Basic_formats well, even
simple precision boasts 23 digits.
23 binary digits, which means 7.22 decimal dig
On Sat, Mar 12, 2011 at 03:27:31PM +0100, Julien PUYDT wrote:
> Le 12/03/2011 12:11, Aurelien Jarno a écrit :
> >On Sat, Mar 12, 2011 at 09:48:53AM +0100, Julien PUYDT wrote:
> >>Package: libc6
> >>Version: 2.11.2-13
> >>
> >>The following piece of code :
> >>
> >>#include
> >>#include
> >>
> >>int
Le 12/03/2011 12:11, Aurelien Jarno a écrit :
On Sat, Mar 12, 2011 at 09:48:53AM +0100, Julien PUYDT wrote:
Package: libc6
Version: 2.11.2-13
The following piece of code :
#include
#include
int
main (int argc,
char* argv[])
{
long double x = 6.0;
printf ("tgammal (%20Lf)=%20Lf\n"
tag 617894 + moreinfo
thanks
On Sat, Mar 12, 2011 at 09:48:53AM +0100, Julien PUYDT wrote:
> Package: libc6
> Version: 2.11.2-13
>
> The following piece of code :
>
> #include
> #include
>
> int
> main (int argc,
> char* argv[])
> {
> long double x = 6.0;
> printf ("tgammal (%20Lf)=
Package: libc6
Version: 2.11.2-13
The following piece of code :
#include
#include
int
main (int argc,
char* argv[])
{
long double x = 6.0;
printf ("tgammal (%20Lf)=%20Lf\n", x, tgammal (x));
return 0;
}
Prints, on an x86 debian unstable (eglibc 2.11.2-11) :
tgammal (6
5 matches
Mail list logo