[Bug 284905] __builtin_powf produces incorrect result on FreeBSD

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Feb 2025 20:17:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284905

--- Comment #4 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to sgk from comment #3)
Yes, that was precisely my intent. When using -fno-builtin, the compilers call
the libm function, otherwise they use their builtin implementation (gcc via
MPFR, clang via APFloat). In that case you don't even have to specify -lm. :)

In any case, the question in this bug comes back to: is there a real issue for
a particular piece of software caused by the error in libm's powf() being
slightly larger?

-- 
You are receiving this mail because:
You are the assignee for the bug.