![]() |
|
Message-ID: <Pine.BSM.4.64L.2503031106050.1650@herc.mirbsd.org> Date: Mon, 3 Mar 2025 11:08:57 +0000 (UTC) From: Thorsten Glaser <tg@...bsd.de> To: musl@...ts.openwall.com Subject: Re: f128 aliases for long double math symbols Rich Felker dixit: >On Sat, Mar 01, 2025 at 09:29:20AM +0100, Florian Weimer wrote: >> * Rich Felker: >> >> > In addition, if the functions were standardized, it would violate the >> > requirement of non-equality of function pointers for distinct >> > functions. >> >> Is there really such a requirement for functions that have distinct >> types? I cannot find anything related in my copy of C99 at least. >different functions cannot compare equal. But they are equal, on the implementation layer. The aliasing is not done in C, so there’s no UB, and I’ve never seen any wording to the effect of forbidding, say, aliasing memcpy and memmove, or strcmp and strcoll (and memcpy and strxfrm). bye, //mirabilos -- 15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.