Hi Kennon, > Thank you, Paul. It looks like it would be worth a try as the current log2 > implementation from Cygwin is clearly not optimal for either speed or > accuracy. This may be a stupid question, but what would be the easiest way > to incorporate this into open source software? Should I rename the function > and copy the (slightly modified) source code into the distribution?
yes, the file is self-content, just rename cr_log2() into log2(), making sure you keep the copyright paragraph at the beginning. For ease of maintenance, also indicate which commit of CORE-MATH you used, and document changes if you need some. Feel free to contact us ([email protected]) in case of problem. Best regards, Paul -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

