https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83331

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That can happen.  Is the std::cbrt (123.456) precise (error <= .5ulp)?  If so
and the library implementation is not, you should expect some differences.
std::cbrt is constexpr, so if you use it on a constant argument, the compiler
can (and in constant initializers/constexpr contexts must) fold it into a
constant.

Reply via email to