This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


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

Re: [trotts@MIT.EDU: bad line in /usr/include/math.h]



> Wouldn't the 'extern inline log2()' trick work for c++?
> 
> >#define log2(x) (log(x) / M_LOG2_E)

extern inline (log() / M_LOG2_E) ?

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