real_kind

Paul Brook paul@codesourcery.com
Wed Jan 5 22:15:00 GMT 2005


On Wednesday 05 January 2005 21:04, Craig Rasmussen wrote:
> I'm creating the Fortran 90/95 bindings for the OpenMPI
> project and I need access to the C equivalent of the
> Fortran selected_real_kind() intrinsic function.  Would
> it be OK if I took a look at the gfortran implementation
> of this function and use ideas/algorithms from it?

That depends on the licence you want to release it under. gfortran is GPL (and 
the library bits are GPL+exception). If you want to reuse significant amounts 
of it under a different license you'd probably need to talk to the FSF.

You are of course free to take ideas and write your own implementation.

Paul



More information about the Fortran mailing list