round() on arm vs aarch64

Stephanos Ioannidis root@stephanos.io
Tue Nov 15 15:58:07 GMT 2022


On Tue, 2022-11-15 at 09:38 -0600, Joel Sherrill wrote:
> Digging a bit, I noticed a huge block of <cmath> is ifdef'ed out for
> aarch64.
> I found the file c++config.h which is different between the two.
> 
> Based on the diff of the arm and aarch64 versions, arm has
>  _GLIBCXX_USE_C99_MATH_TR1 defined but aarch64 does not.
> 
> I have no idea where the settings in this file come from but this
> appears to be the key difference.
> 
> More insight appreciated.

Funny how I came across a similar issue today. The following link might
be of help in understanding what is going on:

https://github.com/zephyrproject-rtos/sdk-ng/issues/566#issuecomment-1315165640

Regards,

Stephanos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://sourceware.org/pipermail/newlib/attachments/20221115/759f244f/attachment.sig>


More information about the Newlib mailing list