public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/iains/heads/d-for-darwin)] D, Math, IBM128 : Placeholder values for constants.
@ 2021-10-15 19:34 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2021-10-15 19:34 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1255dbfe67f255120c7242a315ae39723175de65

commit 1255dbfe67f255120c7242a315ae39723175de65
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Fri Dec 11 00:57:30 2020 +0000

    D, Math, IBM128 : Placeholder values for constants.
    
    These need to be checked and updated.

Diff:
---
 libphobos/src/std/internal/math/gammafunction.d | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libphobos/src/std/internal/math/gammafunction.d b/libphobos/src/std/internal/math/gammafunction.d
index c9677c72463..981154e1ad3 100644
--- a/libphobos/src/std/internal/math/gammafunction.d
+++ b/libphobos/src/std/internal/math/gammafunction.d
@@ -257,6 +257,8 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeExtended53)
     enum real MAXGAMMA = 1755.5483429L;
 else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXGAMMA = 171.6243769L;
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+    enum real MAXGAMMA = 1755.5483429L;
 else
     static assert(0, "missing MAXGAMMA for other real types");
 
@@ -615,6 +617,11 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXLOG = 0x1.62e42fefa39efp+9L;  // log(real.max)
     enum real MINLOG = -0x1.74385446d71c3p+9L; // log(real.min_normal*real.epsilon) = log(smallest denormal)
 }
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+{
+    enum real MAXLOG = 0x1.62e42fefa39ef35793c7673007e6p+9L;  // log(real.max)
+    enum real MINLOG = -0x1.6546282207802c89d24d65e96274p+9L; // log(real.min_normal*real.epsilon) = log(
+}
 else
     static assert(0, "missing MAXLOG and MINLOG for other real types");


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Math, IBM128 : Placeholder values for constants.
@ 2021-10-18 15:54 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2021-10-18 15:54 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:430d4329d9cd680a47c26e9b21c2183a06cf8e67

commit 430d4329d9cd680a47c26e9b21c2183a06cf8e67
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Fri Dec 11 00:57:30 2020 +0000

    D, Math, IBM128 : Placeholder values for constants.
    
    These need to be checked and updated.

Diff:
---
 libphobos/src/std/internal/math/gammafunction.d | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libphobos/src/std/internal/math/gammafunction.d b/libphobos/src/std/internal/math/gammafunction.d
index c9677c72463..981154e1ad3 100644
--- a/libphobos/src/std/internal/math/gammafunction.d
+++ b/libphobos/src/std/internal/math/gammafunction.d
@@ -257,6 +257,8 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeExtended53)
     enum real MAXGAMMA = 1755.5483429L;
 else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXGAMMA = 171.6243769L;
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+    enum real MAXGAMMA = 1755.5483429L;
 else
     static assert(0, "missing MAXGAMMA for other real types");
 
@@ -615,6 +617,11 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXLOG = 0x1.62e42fefa39efp+9L;  // log(real.max)
     enum real MINLOG = -0x1.74385446d71c3p+9L; // log(real.min_normal*real.epsilon) = log(smallest denormal)
 }
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+{
+    enum real MAXLOG = 0x1.62e42fefa39ef35793c7673007e6p+9L;  // log(real.max)
+    enum real MINLOG = -0x1.6546282207802c89d24d65e96274p+9L; // log(real.min_normal*real.epsilon) = log(
+}
 else
     static assert(0, "missing MAXLOG and MINLOG for other real types");


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Math, IBM128 : Placeholder values for constants.
@ 2021-10-13  8:31 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2021-10-13  8:31 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:cf3186448d122512e3a6b41c79af0b1f1c39e09e

commit cf3186448d122512e3a6b41c79af0b1f1c39e09e
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Fri Dec 11 00:57:30 2020 +0000

    D, Math, IBM128 : Placeholder values for constants.
    
    These need to be checked and updated.

Diff:
---
 libphobos/src/std/internal/math/gammafunction.d | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libphobos/src/std/internal/math/gammafunction.d b/libphobos/src/std/internal/math/gammafunction.d
index c9677c72463..981154e1ad3 100644
--- a/libphobos/src/std/internal/math/gammafunction.d
+++ b/libphobos/src/std/internal/math/gammafunction.d
@@ -257,6 +257,8 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeExtended53)
     enum real MAXGAMMA = 1755.5483429L;
 else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXGAMMA = 171.6243769L;
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+    enum real MAXGAMMA = 1755.5483429L;
 else
     static assert(0, "missing MAXGAMMA for other real types");
 
@@ -615,6 +617,11 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXLOG = 0x1.62e42fefa39efp+9L;  // log(real.max)
     enum real MINLOG = -0x1.74385446d71c3p+9L; // log(real.min_normal*real.epsilon) = log(smallest denormal)
 }
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+{
+    enum real MAXLOG = 0x1.62e42fefa39ef35793c7673007e6p+9L;  // log(real.max)
+    enum real MINLOG = -0x1.6546282207802c89d24d65e96274p+9L; // log(real.min_normal*real.epsilon) = log(
+}
 else
     static assert(0, "missing MAXLOG and MINLOG for other real types");


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Math, IBM128 : Placeholder values for constants.
@ 2021-10-11 20:35 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2021-10-11 20:35 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9440a72cf9dd5c4d0da3c51983f4930f65d55c33

commit 9440a72cf9dd5c4d0da3c51983f4930f65d55c33
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Fri Dec 11 00:57:30 2020 +0000

    D, Math, IBM128 : Placeholder values for constants.
    
    These need to be checked and updated.

Diff:
---
 libphobos/src/std/internal/math/gammafunction.d | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libphobos/src/std/internal/math/gammafunction.d b/libphobos/src/std/internal/math/gammafunction.d
index c9677c72463..981154e1ad3 100644
--- a/libphobos/src/std/internal/math/gammafunction.d
+++ b/libphobos/src/std/internal/math/gammafunction.d
@@ -257,6 +257,8 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeExtended53)
     enum real MAXGAMMA = 1755.5483429L;
 else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXGAMMA = 171.6243769L;
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+    enum real MAXGAMMA = 1755.5483429L;
 else
     static assert(0, "missing MAXGAMMA for other real types");
 
@@ -615,6 +617,11 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXLOG = 0x1.62e42fefa39efp+9L;  // log(real.max)
     enum real MINLOG = -0x1.74385446d71c3p+9L; // log(real.min_normal*real.epsilon) = log(smallest denormal)
 }
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+{
+    enum real MAXLOG = 0x1.62e42fefa39ef35793c7673007e6p+9L;  // log(real.max)
+    enum real MINLOG = -0x1.6546282207802c89d24d65e96274p+9L; // log(real.min_normal*real.epsilon) = log(
+}
 else
     static assert(0, "missing MAXLOG and MINLOG for other real types");


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Math, IBM128 : Placeholder values for constants.
@ 2021-01-11 21:27 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2021-01-11 21:27 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e57707fe40792006ecbff1b844e6f9be33c2f7dc

commit e57707fe40792006ecbff1b844e6f9be33c2f7dc
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Fri Dec 11 00:57:30 2020 +0000

    D, Math, IBM128 : Placeholder values for constants.
    
    These need to be checked and updated.

Diff:
---
 libphobos/src/std/internal/math/gammafunction.d | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libphobos/src/std/internal/math/gammafunction.d b/libphobos/src/std/internal/math/gammafunction.d
index c9677c72463..981154e1ad3 100644
--- a/libphobos/src/std/internal/math/gammafunction.d
+++ b/libphobos/src/std/internal/math/gammafunction.d
@@ -257,6 +257,8 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeExtended53)
     enum real MAXGAMMA = 1755.5483429L;
 else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXGAMMA = 171.6243769L;
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+    enum real MAXGAMMA = 1755.5483429L;
 else
     static assert(0, "missing MAXGAMMA for other real types");
 
@@ -615,6 +617,11 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXLOG = 0x1.62e42fefa39efp+9L;  // log(real.max)
     enum real MINLOG = -0x1.74385446d71c3p+9L; // log(real.min_normal*real.epsilon) = log(smallest denormal)
 }
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+{
+    enum real MAXLOG = 0x1.62e42fefa39ef35793c7673007e6p+9L;  // log(real.max)
+    enum real MINLOG = -0x1.6546282207802c89d24d65e96274p+9L; // log(real.min_normal*real.epsilon) = log(
+}
 else
     static assert(0, "missing MAXLOG and MINLOG for other real types");


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Math, IBM128 : Placeholder values for constants.
@ 2020-12-21 20:38 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2020-12-21 20:38 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:ce85a8ae21a1bfb6927d2a482eb8678f2ccfcb48

commit ce85a8ae21a1bfb6927d2a482eb8678f2ccfcb48
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Fri Dec 11 00:57:30 2020 +0000

    D, Math, IBM128 : Placeholder values for constants.
    
    These need to be checked and updated.

Diff:
---
 libphobos/src/std/internal/math/gammafunction.d | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libphobos/src/std/internal/math/gammafunction.d b/libphobos/src/std/internal/math/gammafunction.d
index c9677c72463..981154e1ad3 100644
--- a/libphobos/src/std/internal/math/gammafunction.d
+++ b/libphobos/src/std/internal/math/gammafunction.d
@@ -257,6 +257,8 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeExtended53)
     enum real MAXGAMMA = 1755.5483429L;
 else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXGAMMA = 171.6243769L;
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+    enum real MAXGAMMA = 1755.5483429L;
 else
     static assert(0, "missing MAXGAMMA for other real types");
 
@@ -615,6 +617,11 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXLOG = 0x1.62e42fefa39efp+9L;  // log(real.max)
     enum real MINLOG = -0x1.74385446d71c3p+9L; // log(real.min_normal*real.epsilon) = log(smallest denormal)
 }
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+{
+    enum real MAXLOG = 0x1.62e42fefa39ef35793c7673007e6p+9L;  // log(real.max)
+    enum real MINLOG = -0x1.6546282207802c89d24d65e96274p+9L; // log(real.min_normal*real.epsilon) = log(
+}
 else
     static assert(0, "missing MAXLOG and MINLOG for other real types");


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Math, IBM128 : Placeholder values for constants.
@ 2020-12-13 17:44 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2020-12-13 17:44 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9000ab9333ef8b7053165d75b08a13d3c1317a36

commit 9000ab9333ef8b7053165d75b08a13d3c1317a36
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Fri Dec 11 00:57:30 2020 +0000

    D, Math, IBM128 : Placeholder values for constants.
    
    These need to be checked and updated.

Diff:
---
 libphobos/src/std/internal/math/gammafunction.d | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libphobos/src/std/internal/math/gammafunction.d b/libphobos/src/std/internal/math/gammafunction.d
index c9677c72463..981154e1ad3 100644
--- a/libphobos/src/std/internal/math/gammafunction.d
+++ b/libphobos/src/std/internal/math/gammafunction.d
@@ -257,6 +257,8 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeExtended53)
     enum real MAXGAMMA = 1755.5483429L;
 else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXGAMMA = 171.6243769L;
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+    enum real MAXGAMMA = 1755.5483429L;
 else
     static assert(0, "missing MAXGAMMA for other real types");
 
@@ -615,6 +617,11 @@ else static if (floatTraits!(real).realFormat == RealFormat.ieeeDouble)
     enum real MAXLOG = 0x1.62e42fefa39efp+9L;  // log(real.max)
     enum real MINLOG = -0x1.74385446d71c3p+9L; // log(real.min_normal*real.epsilon) = log(smallest denormal)
 }
+else static if (floatTraits!(real).realFormat == RealFormat.ibmExtended)
+{
+    enum real MAXLOG = 0x1.62e42fefa39ef35793c7673007e6p+9L;  // log(real.max)
+    enum real MINLOG = -0x1.6546282207802c89d24d65e96274p+9L; // log(real.min_normal*real.epsilon) = log(
+}
 else
     static assert(0, "missing MAXLOG and MINLOG for other real types");


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-18 15:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-15 19:34 [gcc(refs/users/iains/heads/d-for-darwin)] D, Math, IBM128 : Placeholder values for constants Iain D Sandoe
  -- strict thread matches above, loose matches on Subject: below --
2021-10-18 15:54 Iain D Sandoe
2021-10-13  8:31 Iain D Sandoe
2021-10-11 20:35 Iain D Sandoe
2021-01-11 21:27 Iain D Sandoe
2020-12-21 20:38 Iain D Sandoe
2020-12-13 17:44 Iain D Sandoe

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).