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
a4057457
Commit
a4057457
authored
Oct 21, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add inline wrappers for some underscore-prefixed math functions.
parent
ded5ad8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
8 deletions
+19
-8
math.h
include/msvcrt/math.h
+19
-8
No files found.
include/msvcrt/math.h
View file @
a4057457
...
@@ -68,13 +68,13 @@ double __cdecl frexp(double, int*);
...
@@ -68,13 +68,13 @@ double __cdecl frexp(double, int*);
double
__cdecl
modf
(
double
,
double
*
);
double
__cdecl
modf
(
double
,
double
*
);
double
__cdecl
fmod
(
double
,
double
);
double
__cdecl
fmod
(
double
,
double
);
double
__cdecl
hypot
(
double
,
double
);
double
__cdecl
_
hypot
(
double
,
double
);
double
__cdecl
j0
(
double
);
double
__cdecl
_
j0
(
double
);
double
__cdecl
j1
(
double
);
double
__cdecl
_
j1
(
double
);
double
__cdecl
jn
(
int
,
double
);
double
__cdecl
_
jn
(
int
,
double
);
double
__cdecl
y0
(
double
);
double
__cdecl
_
y0
(
double
);
double
__cdecl
y1
(
double
);
double
__cdecl
_
y1
(
double
);
double
__cdecl
yn
(
int
,
double
);
double
__cdecl
_
yn
(
int
,
double
);
#ifdef __x86_64__
#ifdef __x86_64__
...
@@ -129,7 +129,7 @@ float __cdecl fmodf(float, float);
...
@@ -129,7 +129,7 @@ float __cdecl fmodf(float, float);
#define fabsf(x) ((float)fabs((double)(x)))
#define fabsf(x) ((float)fabs((double)(x)))
#define ldexpf(x,y) ((float)ldexp((double)(x),(y)))
#define ldexpf(x,y) ((float)ldexp((double)(x),(y)))
float
__cdecl
hypotf
(
float
,
float
);
float
__cdecl
_
hypotf
(
float
,
float
);
int
__cdecl
_matherr
(
struct
_exception
*
);
int
__cdecl
_matherr
(
struct
_exception
*
);
double
__cdecl
_cabs
(
struct
_complex
);
double
__cdecl
_cabs
(
struct
_complex
);
...
@@ -171,4 +171,15 @@ static const union {
...
@@ -171,4 +171,15 @@ static const union {
#endif
/* !_MATH_DEFINES_DEFINED */
#endif
/* !_MATH_DEFINES_DEFINED */
#endif
/* _USE_MATH_DEFINES */
#endif
/* _USE_MATH_DEFINES */
static
inline
double
hypot
(
double
x
,
double
y
)
{
return
_hypot
(
x
,
y
);
}
static
inline
double
j0
(
double
x
)
{
return
_j0
(
x
);
}
static
inline
double
j1
(
double
x
)
{
return
_j1
(
x
);
}
static
inline
double
jn
(
int
n
,
double
x
)
{
return
_jn
(
n
,
x
);
}
static
inline
double
y0
(
double
x
)
{
return
_y0
(
x
);
}
static
inline
double
y1
(
double
x
)
{
return
_y1
(
x
);
}
static
inline
double
yn
(
int
n
,
double
x
)
{
return
_yn
(
n
,
x
);
}
static
inline
double
cabs
(
struct
_complex
z
)
{
return
_cabs
(
z
);
}
static
inline
float
hypotf
(
float
x
,
float
y
)
{
return
_hypotf
(
x
,
y
);
}
#endif
/* __WINE_MATH_H */
#endif
/* __WINE_MATH_H */
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