This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Porting Questions
Gabriel Dos Reis wrote:
> "David A. Greene" <greened@eecs.umich.edu> writes:
>
> | Of course, __builtin_* can't always be converted to *
> | portable (__builtin_fabsf, for example) so I'll need to
> | special-case those. Then there's the problem of
> | fabs(long double)...
>
> I outlined a solution for exactly this sort of problem in my previous
> message. Please, have a look at libmath/stubs.c to see how the idea works.
Thanks for the reference, I'll take a look. I didn't
have a pointer before.
-Dave