NetBSD Problem Report #58604

From www@netbsd.org  Fri Aug 16 10:51:51 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 0226B1A9242
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 16 Aug 2024 10:51:51 +0000 (UTC)
Message-Id: <20240816105149.98A6E1A9243@mollari.NetBSD.org>
Date: Fri, 16 Aug 2024 10:51:49 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: C11 <complex.h>: missing CMPLX, CMPLXF, CMPLXL
X-Send-Pr-Version: www-1.0

>Number:         58604
>Category:       standards
>Synopsis:       C11 <complex.h>: missing CMPLX, CMPLXF, CMPLXL
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    standards-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 16 10:55:00 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, 10, 9, ...
>Organization:
The NetBSD+i Foundation
>Environment:
>Description:
C11 7.3.9.3: The CMPLX macros

#include <complex.h>
double complex CMPLX(double x, double y);
float complex CMPLXF(float x, float y);
long double complex CMPLXL(long double x, long double y);

https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf#page=215
>How-To-Repeat:
code inspection
>Fix:
Yes, please!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.