This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL 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: greatest common divisor


Achim Gaedke writes:
 > I was not able to find a standard UNIX function for the greatest common
 > divisor, so I have written one. I put it into the specfunc section, but
 > I am not realy sure, if it fits. Also I am not sure, if ldiv is
 > available for many other systems. I could replace it by a suitable
 > integer division.
 
What is the advantage of ldiv over % ?

-- 
Brian Gough


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