Rebase against 8ddff3f51faca2c0824e204a69f69e241fb93d15.

This commit is contained in:
Alistair Leslie-Hughes
2021-05-26 10:10:15 +10:00
parent 69765f438b
commit 34afd80e2e
7 changed files with 49 additions and 60 deletions

View File

@@ -1,4 +1,4 @@
From 25f4c3fd7e333d9da438145ee0f0ed56ef74f4a6 Mon Sep 17 00:00:00 2001
From 99640ba7474a35f086d85bdb0b416e1e00d31c2f Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Fri, 10 Apr 2015 07:51:16 +0200
Subject: [PATCH] msvcrt: Calculate sinh/cosh/exp/pow with higher precision.
@@ -10,10 +10,10 @@ Based on a patch by Zheng Chen.
1 file changed, 59 insertions(+), 4 deletions(-)
diff --git a/dlls/msvcrt/unixlib.c b/dlls/msvcrt/unixlib.c
index 3913d61048a..a5a41df08a3 100644
index 6d3a3bd5a79..e0581f713cd 100644
--- a/dlls/msvcrt/unixlib.c
+++ b/dlls/msvcrt/unixlib.c
@@ -42,6 +42,61 @@
@@ -42,12 +42,67 @@
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
@@ -73,9 +73,7 @@ index 3913d61048a..a5a41df08a3 100644
+#endif
+
/*********************************************************************
* acosh
*/
@@ -182,7 +237,7 @@ static float CDECL unix_cosf( float x )
* cosh
*/
static double CDECL unix_cosh( double x )
{
@@ -84,7 +82,7 @@ index 3913d61048a..a5a41df08a3 100644
}
/*********************************************************************
@@ -254,7 +309,7 @@ static float CDECL unix_erfcf(float x)
@@ -63,7 +118,7 @@ static float CDECL unix_coshf( float x )
*/
static double CDECL unix_exp( double x )
{
@@ -93,7 +91,7 @@ index 3913d61048a..a5a41df08a3 100644
}
/*********************************************************************
@@ -689,7 +744,7 @@ static float CDECL unix_nexttowardf(float num, double next)
@@ -297,7 +352,7 @@ static float CDECL unix_log2f(float x)
*/
static double CDECL unix_pow( double x, double y )
{
@@ -102,7 +100,7 @@ index 3913d61048a..a5a41df08a3 100644
}
/*********************************************************************
@@ -861,7 +916,7 @@ static float CDECL unix_sinf( float x )
@@ -313,7 +368,7 @@ static float CDECL unix_powf( float x, float y )
*/
static double CDECL unix_sinh( double x )
{
@@ -112,5 +110,5 @@ index 3913d61048a..a5a41df08a3 100644
/*********************************************************************
--
2.29.2
2.30.2