![]() |
|
Message-ID: <Pine.BSM.4.64L.2406260146510.5989@herc.mirbsd.org> Date: Wed, 26 Jun 2024 01:49:09 +0000 (UTC) From: Thorsten Glaser <tg@...bsd.de> To: musl@...ts.openwall.com Subject: Re: roundf() (and round(), and ...) enh dixit: >bionic actually uses __builtin_fabs() [and friends] to _implement_ >these functions, should someone be foolish enough to be using a That’ll be fun should the compiler decide to insert a call to fabs() at the call site instead, which it’d be allowed to do ☺ Stories of compilers doing that abound… IIRC it was the compiler recognising the implementation pattern of memcpy and replacing that by a call to memcpy… in some libc’s that was not careful to use -ffreestanding memcpy implementation. 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.