Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2025 20:05:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        numerics@FreeBSD.org
Subject:   [Bug 284905] __builtin_powf produces incorrect result on FreeBSD
Message-ID:  <bug-284905-18636-yHgcc2zm3g@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-284905-18636@https.bugs.freebsd.org/bugzilla/>
References:  <bug-284905-18636@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284905

--- Comment #3 from sgk@troutmask.apl.washington.edu ---
Dimitry, if you use an optimization level other than -O0, then
clang and gcc constant fold Yuri's code.  gcc uses MPFR to
do this and does the constant folding in "infinite" precision.
I would assume clang/llvm does something similar.

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

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284905-18636-yHgcc2zm3g>