This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: acoshl functions for ldbl-96



Hi,
Thank you for giving answer. Yes, You are right that there's a fpu directory that implemented of these functions.
Only I386 family, M68k and X86_64 use long-double as 96 bits. In FPU Directory of those architectures, __ieee754_logl,__log1pl,__ieee754_sqrtl and also some another functions (which are not implemented in ldbl-96) are implemented.
I am working on Glibc for new Architecture. It uses long-double as 96 bits. Due to unavailable instuctions like 'logl' , 'expl' , we must use C code for above functions. I currently working on above functions which will use C code to compute math functions for long double as 96 .



Thanking you, Dhaval Prajapati.


From: Andreas Jaeger <aj@suse.de>
To: "Dhaval Prajapati" <dhavaljr@hotmail.com>
CC: libc-alpha@sources.redhat.com
Subject: Re: acoshl functions for ldbl-96
Date: Mon, 23 Aug 2004 19:26:56 +0200

"Dhaval Prajapati" <dhavaljr@hotmail.com> writes:

> Hi,
>
> I am stdying glibc 2.3.2 . In ldbl-96 directory
> (path:glibc-2.3.2/sysdeps/ieee754/ldbl-96), there is e_acoshl.c file
> to compute 'acosh' for long double. This file is using these functions
> __ieee754_logl,__log1pl,__ieee754_sqrtl, which are not implemented in
> 'ldbl-96' directory. So it will use from generic directory . But in
> that directory also these functions are not implemented.
>
> I would like to know that , how e_acoshl.c compute 'acosh' correctly
> for long double? Why __ieee754_logl,__log1pl,__ieee754_sqrtl functions
> are not implemented in 'ldbl-96' directory?

Build glibc yourself and then check which functions gets build.  The
build process is rather involved and different files are taken
dependend on the architecture.  For example on i386, there's a fpu
directory that implements some of these functions.

Andreas
--
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
<< attach3 >>

_________________________________________________________________
Don?t miss out on jobs that are not advertised. http://www.naukri.com/msn/index.php?source=hottag Post your CV on naukri.com today.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]