Re: incomplete math library for x64 (exp functions)
Felix von Leitner <[email protected]> Fri, 10 Jan 2020 22:01:36 +0100
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
> There are no exp, log, ldexp, frexp implementations for > the x86_64 processors. > One cannot use the function power in libm on a 64bit PC > (which are now mainstream): > pow.c:(.text.pow+0xa2): undefined reference to `exp' Yes, there is no math library because I am not qualified to write one and I didn't see it as important for embedded development so I never sat down to learn how to do it. All the libm functions in the code have been contributed by people who needed them, and that was basically one guy who owned an i386 (also that processor has the nice property that it implements many libm function as cpu instructions). Sorry about that. Felix