I pulled in the implementation of a few log functions from musl 0.8.7 because lua needed log2 to compile. Since lua needed only log2 I commented out the ones that didn't immediatly compile like log1p.c.