From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2BDFA3858D35; Sat, 6 May 2023 22:48:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2BDFA3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683413308; bh=OZzyye5JxbF1TSlZ5WdYy1lIISmIR3gcwBX1D1yzAqA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aIFITfEsV8h7EJtQ3uz/RAqzn4Oi4uae10bDXBQKpDluoffeAIUCK3R8gXJzp9SDF 1dV2bowj0BWoTvSWxifC72Ydc+YfBhUbNWhNXq2ftX33GFXVnqGst7Z2+BHY+LX7Nb HK3ShiwVjhXrnThEx9Aqm5V40Gx/9VDELQujF9A8= From: "g.peterhoff@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/109758] std::abs(__float128) doesn't support NaN Date: Sat, 06 May 2023 22:48:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: g.peterhoff@t-online.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109758 --- Comment #3 from g.peterhoff@t-online.de --- >> libstdc++ doesn't depend on libquadmath and the __float128 support is th= ere very limited. Yes, exactly. There should be nothing of quadmath in the std implementation= s of C/C++. But in bits/std_abs.h this is the case. >> Use std::float128_t instead (in GCC 13.1)? std::float128_t can only be used from C++23 on, but quadmath can also be us= ed with older standard/compiler versions.=