From: Stephanos Ioannidis <root@stephanos.io>
To: "joel@rtems.org" <joel@rtems.org>,
"Richard.Earnshaw@foss.arm.com" <Richard.Earnshaw@foss.arm.com>
Cc: "newlib@sourceware.org" <newlib@sourceware.org>
Subject: Re: round() on arm vs aarch64
Date: Tue, 15 Nov 2022 15:58:07 +0000 [thread overview]
Message-ID: <c5223a720d7d447c1546c9cb9e8696350a6f817c.camel@stephanos.io> (raw)
In-Reply-To: <CAF9ehCUUaMeizgi-95dK9Erk3E3LhAqxwcFjyvGoZN_ps_pkUg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 709 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2022-11-15 15:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-03 14:13 Joel Sherrill
2022-11-07 17:28 ` Richard Earnshaw
2022-11-15 15:38 ` Joel Sherrill
2022-11-15 15:58 ` Stephanos Ioannidis [this message]
2022-11-15 18:17 ` Joel Sherrill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5223a720d7d447c1546c9cb9e8696350a6f817c.camel@stephanos.io \
--to=root@stephanos.io \
--cc=Richard.Earnshaw@foss.arm.com \
--cc=joel@rtems.org \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).