public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Gerald Pfeifer <gerald@pfeifer.com>
To: Tobias Burnus <tobias@codesourcery.com>
Cc: Sandra Loosemore <sandra@codesourcery.com>,
	 Andreas Tobler <andreast@FreeBSD.org>,
	fortran@gcc.gnu.org,  gcc-patches@gcc.gnu.org
Subject: Re: [PATCH, Fortran] Revert to non-multilib-specific ISO_Fortran_binding.h
Date: Tue, 14 Sep 2021 16:50:48 +0200 (CEST)	[thread overview]
Message-ID: <2de2f2b0-d221-acc1-79d4-554ee480c62@pfeifer.com> (raw)
In-Reply-To: <b7b5e145-f4ae-5529-b1b1-149eeb65f11f@codesourcery.com>

On Mon, 13 Sep 2021, Tobias Burnus wrote:
> Can you run 'echo | cpp -E -g3|grep DBL' to (or in the build dir: echo |
> ./gcc/cc1 -E -g3 -dD|grep DBL) to check what's the output?

Thank you, Tobias, and I'm just testing the proposed patch, but still
wanted to follow up on your question:

  % echo | ./gcc/cc1 -E -g3 -dD | grep DBL
  #define __DBL_MANT_DIG__ 53
  #define __DBL_DIG__ 15
  #define __DBL_MIN_EXP__ (-1021)
  #define __DBL_MIN_10_EXP__ (-307)
  #define __DBL_MAX_EXP__ 1024
  #define __DBL_MAX_10_EXP__ 308
  #define __DBL_DECIMAL_DIG__ 17
  #define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L)
  #define __DBL_NORM_MAX__ ((double)1.79769313486231570814527423731704357e+308L)
  #define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L)
  #define __DBL_EPSILON__ ((double)2.22044604925031308084726333618164062e-16L)
  #define __DBL_DENORM_MIN__ ((double)4.94065645841246544176568792868221372e-324L)
  #define __DBL_HAS_DENORM__ 1
  #define __DBL_HAS_INFINITY__ 1
  #define __DBL_HAS_QUIET_NAN__ 1
  #define __DBL_IS_IEC_60559__ 2
  #define __LDBL_MANT_DIG__ 53
  #define __LDBL_DIG__ 15
  #define __LDBL_MIN_EXP__ (-16381)
  #define __LDBL_MIN_10_EXP__ (-4931)
  #define __LDBL_MAX_EXP__ 16384
  #define __LDBL_MAX_10_EXP__ 4932
  #define __LDBL_DECIMAL_DIG__ 17
  #define __LDBL_MAX__ 1.18973149535723163299902939989638351e+4932L
  #define __LDBL_NORM_MAX__ 1.18973149535723163299902939989638351e+4932L
  #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
  #define __LDBL_EPSILON__ 2.22044604925031308084726333618164062e-16L
  #define __LDBL_DENORM_MIN__ 7.46536864129530798597817535205257178e-4948L
  #define __LDBL_HAS_DENORM__ 1
  #define __LDBL_HAS_INFINITY__ 1
  #define __LDBL_HAS_QUIET_NAN__ 1
  #define __LDBL_IS_IEC_60559__ 2

Gerald

  parent reply	other threads:[~2021-09-14 14:50 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-19  2:57 Sandra Loosemore
2021-09-03  2:05 ` PING " Sandra Loosemore
2021-09-06 19:29 ` Tobias Burnus
2021-09-10 15:39 ` Andreas Schwab
2021-09-13  7:51   ` Tobias Burnus
2021-09-13 15:56 ` Gerald Pfeifer
2021-09-13 16:32   ` Tobias Burnus
2021-09-13 16:51     ` Jakub Jelinek
2021-09-13 16:59       ` Sandra Loosemore
2021-09-13 17:07         ` Tobias Burnus
2021-09-13 17:20           ` Jakub Jelinek
2021-09-14  3:39           ` Sandra Loosemore
2021-09-14  7:39             ` Tobias Burnus
2021-09-14 16:34             ` Gerald Pfeifer
2021-09-14 14:50     ` Gerald Pfeifer [this message]
2021-09-14 15:16       ` Tobias Burnus
2021-09-14 15:17       ` Andreas Schwab
2021-09-14 15:23         ` Jakub Jelinek
2021-09-14 15:30           ` Andreas Schwab
2021-09-15  1:05             ` Joseph Myers
2021-09-14 19:27           ` Gerald Pfeifer
2021-09-17  6:03             ` Gerald Pfeifer
2021-09-17 14:10               ` [committed] Fortran: Prefer GCC internal macros to float.h in ISO_Fortran_binding.h (was: [PATCH, Fortran] Revert to non-multilib-specific ISO_Fortran_binding.h) Tobias Burnus
2021-09-18  4:51                 ` Gerald Pfeifer
2021-09-13 17:39   ` [PATCH, Fortran] Revert to non-multilib-specific ISO_Fortran_binding.h Andreas Schwab
2021-09-13 18:07   ` Jakub Jelinek

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=2de2f2b0-d221-acc1-79d4-554ee480c62@pfeifer.com \
    --to=gerald@pfeifer.com \
    --cc=andreast@FreeBSD.org \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=sandra@codesourcery.com \
    --cc=tobias@codesourcery.com \
    /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).