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
bfc3a2bd
Commit
bfc3a2bd
authored
Mar 30, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use the erf()/erfc()/erff()/erfcf() implementation from the bundled musl library.
parent
3b1e2a7b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
math.c
dlls/msvcrt/math.c
+0
-0
erf.c
libs/musl/src/math/erf.c
+4
-1
erff.c
libs/musl/src/math/erff.c
+4
-1
No files found.
dlls/msvcrt/math.c
View file @
bfc3a2bd
This diff is collapsed.
Click to expand it.
libs/musl/src/math/erf.c
View file @
bfc3a2bd
...
...
@@ -269,5 +269,8 @@ double __cdecl erfc(double x)
if
(
ix
<
0x403c0000
)
{
/* 0.84375 <= |x| < 28 */
return
sign
?
2
-
erfc2
(
ix
,
x
)
:
erfc2
(
ix
,
x
);
}
return
sign
?
2
-
0x1
p
-
1022
:
0x1
p
-
1022
*
0x1
p
-
1022
;
if
(
sign
)
return
2
-
DBL_MIN
;
errno
=
ERANGE
;
return
fp_barrier
(
DBL_MIN
)
*
DBL_MIN
;
}
libs/musl/src/math/erff.c
View file @
bfc3a2bd
...
...
@@ -179,5 +179,8 @@ float __cdecl erfcf(float x)
if
(
ix
<
0x41e00000
)
{
/* |x| < 28 */
return
sign
?
2
-
erfc2
(
ix
,
x
)
:
erfc2
(
ix
,
x
);
}
return
sign
?
2
-
0x1
p
-
120
f
:
0x1
p
-
120
f
*
0x1
p
-
120
f
;
if
(
sign
)
return
2
-
FLT_MIN
;
errno
=
ERANGE
;
return
FLT_MIN
*
FLT_MIN
;
}
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