This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: Quad-float math library: licence question


On Fri, Aug 13, 2010 at 05:48:23PM +0200, FX wrote:
> > Second, can we define a F95 module interface so that one can simply do
> > USE QUADsomename and have that automatically link in the separate
> > library.
> 
> There is no question about how this is handled on the Fortran end: the user says "real(kind=16)".
> 
> > Third, can we not expand our current dtoa code to handle quad.  Our
> > current code is fairly flexible I think.  (I have not reviewed your code
> > yet)
> 
> Unless I'm wrong, the current code uses the system's printf functions for
> floating-point output, does it not?  If so, because C99 (nor glibc, nor
> any other libc out there) provides binary128 I/O, we need to provide our
> own.

Well, for glibc you could just use printf hooks and handle __float128 in the
hooks.

	Jakub


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