This is the mail archive of the
mailing list for the GCC project.
Re: why not consfold sin(const)
Timothy J.Wood wrote:
How about defining a ctor for that .o file that calls the target's
elementary function at run time and puts it a global created by the
Unnecessarily messy, it's not that hard to get hold of high precision
elementary functions (the code is certainly immediately available in
Ada, so it must be available in C).
This has some arguably less than ideal side effects (the global would
need to be in writable memory), but it seems to me that this is not
"impossible" as a previous message claimed.
Nothing here is impossible! It's just a matter of whether it is