Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ee7b5ebc
Commit
ee7b5ebc
authored
Jun 21, 2021
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Match native sinf results in -Pi/4 - Pi/4 range.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0acd98f1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
math.c
dlls/msvcrt/math.c
+7
-4
No files found.
dlls/msvcrt/math.c
View file @
ee7b5ebc
...
...
@@ -660,14 +660,17 @@ static float __expm1f(float x)
/* Copied from musl: src/math/__sindf.c */
static
float
__sindf
(
double
x
)
{
static
const
double
S1
=
-
0x1
5555554cbac77
.
0
p
-
55
,
S2
=
0x1
11110896efbb2
.
0
p
-
59
,
S3
=
-
0x1
a00f9e2cae774
.
0
p
-
65
,
S4
=
0x1
6cd878c3b46a7
.
0
p
-
71
;
static
const
double
S1
=
-
0x1
.
5555555555555
p
-
3
,
S2
=
0x1
.
1111111111111
p
-
7
,
S3
=
-
0x1
.
a01a01a01a01ap
-
13
,
S4
=
0x1
.
71
de3a556c734p
-
19
;
double
r
,
s
,
w
,
z
;
z
=
x
*
x
;
if
(
x
>
-
7.8175831586122513e-03
&&
x
<
7.8175831586122513e-03
)
return
x
*
(
1
+
S1
*
z
);
w
=
z
*
z
;
r
=
S3
+
z
*
S4
;
s
=
z
*
x
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment